In the sequence
1,2,2,4,8,32,256,...
each term (starting from the third term) is the product of the two terms before it. For example, the seventh term is 256, which is the product of the fifth term (8) and the sixth term (32).
This sequence can be continued forever, though the numbers very quickly grow enormous! (For example, the 14th term is close to some estimates of the number of particles in the observable universe.)
What is the last digit of the 35th term of the sequence?
1,2,2,4,8,32,256
After the first digit........the repeated pattern for the last digit is 2,2,4,8,2,6
So....the 35 term's final digit will = 8
In the sequence
1,2,2,4,8,32,256,...
each term (starting from the third term) is the product of the two terms before it. For example, the seventh term is 256, which is the product of the fifth term (8) and the sixth term (32).
This sequence can be continued forever, though the numbers very quickly grow enormous! (For example, the 14th term is close to some estimates of the number of particles in the observable universe.)
What is the last digit of the 35th term of the sequence?
a1=1a2=2a3=2a4=4a5=8a6=32=21⋅2+1⋅3=21⋅5+0⋅3=25⋅f1+3⋅f0a7=256=21⋅2+2⋅3=21⋅5+1⋅3=25⋅f2+3⋅f1a8=8192=22⋅2+3⋅3=22⋅5+1⋅3=25⋅f3+3⋅f2a9==23⋅2+5⋅3=23⋅5+2⋅3=25⋅f4+3⋅f3a10==25⋅2+8⋅3=25⋅5+3⋅3=25⋅f5+3⋅f4a11==28⋅2+13⋅3=28⋅5+5⋅3=25⋅f6+3⋅f5a12==213⋅2+21⋅3=213⋅5+8⋅3=25⋅f7+3⋅f6a13==221⋅2+34⋅3=221⋅5+13⋅3=25⋅f8+3⋅f7a14==234⋅2+55⋅3=234⋅5+21⋅3=25⋅f9+3⋅f8a15==255⋅2+89⋅3=255⋅5+34⋅3=25⋅f10+3⋅f9a16===289⋅5+55⋅3=25⋅f11+3⋅f10…a35====25⋅f30+3⋅f29
Fibonacci numbers: fn=fn−1+fn−2 with f0=0 and f1=1.
f0=0,f1=1,f2=1,f3=2,f4=3,f5=5,f6=8,f7=13,f8=21,f9=34,f10=55,f11=89,f12=144,f13=233,f14=377,f15=610,f16=987,f17=1597,f18=2584,f19=4181,f20=6765,f21=10946,f22=17711,f23=28657,f24=46368,f25=75025,f26=121393,f27=196418,f28=317811,f29=514229,f30=832040,f31=1346269,f32=2178309,f33=3524578,f34=5702887,f35=9227465,f36=14930352,f37=24157817,f38=39088169,…
a35=25⋅f30+3⋅f29|f30=832040f29=514229a35=25⋅832040+3⋅514229a35=25702887
What is the last digit of the 35th term of the sequence ?
25702887(mod10)= ?
233≡21(mod10)⇒233⋅33≡(233)33≡(21)33≡21(mod10)⇒2(33n)≡21(mod10)⇒2a⋅(33n)≡2a(mod10)
5702887334=57028871185921=4 remainder 959203959203333=570288735937=26 remainder 2484124841332=57028871089=22 remainder 88388333=26 remainder 255702887=4⋅334+26⋅333+22⋅332+26⋅33+2525702887(mod10)=24⋅334+26⋅333+22⋅332+26⋅33+25(mod10)=24⋅1+26⋅1+22⋅1+26⋅1+25(mod10)=24+26+22+26+25(mod10)=2103(mod10)=233⋅3+4(mod10)=21⋅3+4(mod10)=23+4(mod10)=27(mod10)=128(mod10)=8(mod10)
the last digit of the 35th term of the sequence is 8