A160590 Next-to-least significant digit of 2^n.
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
Offset: 4
Links
- Paolo Xausa, Table of n, a(n) for n = 4..10000
- M. Haapanen, What is this and how to prove?, newgsroups sci.math, Mar 28 1996
- K. Makella, Mika luku tulee seuraavana?, sfnet.tiede.matematiikka, Jan 2008
- Lars Radvall, Multiplar (PDF).
- Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,-1,1).
Programs
-
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 *)
Formula
Periodic: a(n+20) = a(n).
Extensions
Edited by R. J. Mathar, May 22 2009
Comments