OFFSET
1,2
EXAMPLE
Reading 0, 1, 3, 12, 45, 171, 648, 2457, 9315, 35316, 133893 .. modulo n=3 gives 0, 1, 0, 0, 0, 0, 0, .. with period length a(n=3)= 1.
Reading modulo n=6 gives 0, 1, 3, 0, 3, 3, 0, 3, 3 with period length a(n=6)=3.
CROSSREFS
KEYWORD
nonn
AUTHOR
R. J. Mathar, Mar 24 2010
STATUS
approved