login
A037739
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,3,0.
0
2, 13, 81, 486, 2918, 17509, 105057, 630342, 3782054, 22692325, 136153953, 816923718, 4901542310, 29409253861, 176455523169, 1058733139014, 6352398834086, 38114393004517, 228686358027105, 1372118148162630
OFFSET
1,1
FORMULA
G.f.: ( x*(2+x+3*x^2) ) / ( (x-1)*(6*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 14 2015
MATHEMATICA
nn=20; With[{c=PadRight[{}, nn, {2, 1, 3, 0}]}, Table[FromDigits[Take[c, n], 6], {n, nn}]] (* Harvey P. Dale, Jul 16 2012 *)
CROSSREFS
Sequence in context: A335700 A246383 A189087 * A037634 A074581 A020059
KEYWORD
nonn,base
STATUS
approved