login
A037683
Base-6 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3,2.
1
1, 6, 39, 236, 1417, 8502, 51015, 306092, 1836553, 11019318, 66115911, 396695468, 2380172809, 14281036854, 85686221127, 514117326764, 3084703960585, 18508223763510, 111049342581063, 666296055486380, 3997776332918281, 23986657997509686, 143919947985058119, 863519687910348716
OFFSET
1,2
FORMULA
G.f.: x*(1 + 3*x^2 + 2*x^3)/((x - 1)*(6*x - 1)*(1 + x)*(x^2 + 1)). - R. J. Mathar, Oct 11 2015
E.g.f.: (245*cos(x) - 481*cosh(x) + 236*cosh(6*x) + 175*sin(x) - 296*sinh(x) + 236*sinh(6*x))/1295. - Stefano Spezia, Apr 23 2025
MATHEMATICA
nn=30; With[{c=PadRight[{}, nn, {1, 0, 3, 2}]}, Table[FromDigits[Take[c, n], 6], {n, nn}]] (* Harvey P. Dale, Nov 01 2011 *)
CROSSREFS
Sequence in context: A339205 A258342 A037592 * A145664 A305289 A090018
KEYWORD
nonn,base,easy
STATUS
approved