|
|
A160590
|
|
Next-to-least significant digit of 2^n.
|
|
4
|
|
|
1, 3, 6, 2, 5, 1, 2, 4, 9, 9, 8, 6, 3, 7, 4, 8, 7, 5, 0, 0, 1, 3, 6, 2, 5, 1, 2, 4, 9, 9, 8, 6, 3, 7, 4, 8, 7, 5, 0, 0, 1, 3, 6, 2, 5, 1, 2, 4, 9, 9, 8, 6, 3, 7, 4, 8, 7, 5, 0, 0, 1, 3, 6, 2, 5, 1, 2, 4, 9, 9, 8, 6, 3, 7, 4, 8, 7, 5, 0, 0, 1, 3, 6, 2, 5, 1, 2, 4, 9, 9, 8, 6, 3, 7, 4, 8, 7, 5, 0, 0, 1, 3, 6, 2, 5
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
4,2
|
|
COMMENTS
|
In the sequence [1, 2, 4, 8,] 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, (A000079) the least-significant digit recurs as [..], 6,2,4,8.. (A000689).
The second-least-significant digit repeats in the sequence [..],1,3,6,2,5,1,2,4,9,9,8,6,3,7,4,8,7,5,0,0...
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,-1,1).
|
|
FORMULA
|
Periodic: a(n+20) = a(n).
|
|
MAPLE
|
for n from 4 to 130 do 2 &^ n mod 100 ; printf("%d, ", floor(%/10)) ; od:
|
|
MATHEMATICA
|
PadRight[{}, 100, {1, 3, 6, 2, 5, 1, 2, 4, 9, 9, 8, 6, 3, 7, 4, 8, 7, 5, 0, 0}] (* Paolo Xausa, Oct 22 2023 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
Brian Tristam Williams (briantw(AT)briantw.com), May 20 2009
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|