login
A037585
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 3,1.
2
3, 19, 117, 703, 4221, 25327, 151965, 911791, 5470749, 32824495, 196946973, 1181681839, 7090091037, 42540546223, 255243277341, 1531459664047, 9188757984285, 55132547905711, 330795287434269, 1984771724605615, 11908630347633693, 71451782085802159, 428710692514812957, 2572264155088877743
OFFSET
1,1
FORMULA
G.f.: x*(3+x) / ( (x-1)*(6*x-1)*(1+x) ). - R. J. Mathar, Apr 26 2015
a(n) = floor(19*6^n/35). - Christian Krause, Jun 07 2026
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 1}], 6], {n, 20}] (* Harvey P. Dale, Jul 06 2025 *)
(* Alternative: *)
LinearRecurrence[{6, 1, -6}, {3, 19, 117}, 20] (* Harvey P. Dale, Jul 06 2025 *)
CROSSREFS
Sequence in context: A309183 A261777 A037781 * A084133 A005667 A098444
KEYWORD
nonn,base,easy,changed
STATUS
approved