login
A037762
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,1,2.
0
3, 24, 193, 1546, 12371, 98968, 791745, 6333962, 50671699, 405373592, 3242988737, 25943909898, 207551279187, 1660410233496, 13283281867969, 106266254943754, 850130039550035, 6801040316400280
OFFSET
1,1
FORMULA
G.f.: x*(3+x^2+2*x^3) / ( (x-1)*(8*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, May 04 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 0, 1, 2}], 8], {n, 20}] (* or *) LinearRecurrence[ {8, 0, 0, 1, -8}, {3, 24, 193, 1546, 12371}, 20] (* Harvey P. Dale, Apr 27 2018 *)
CROSSREFS
Sequence in context: A136325 A194888 A103333 * A037650 A037769 A037657
KEYWORD
nonn,base,easy
STATUS
approved