login
A346458
Numbers with hexadecimal representation A, AB, ABC, ..., ABCDEFA, ABCDEFAB, ...
0
10, 171, 2748, 43981, 703710, 11259375, 180150010, 2882400171, 46118402748, 737894443981, 11806311103710, 188900977659375, 3022415642550010, 48358650280800171, 773738404492802748, 12379814471884843981, 198077031550157503710, 3169232504802520059375
OFFSET
1,1
FORMULA
a(n) = 16*a(n-1) + 10 + ((n - 1) mod 6) with a(1) = 10.
From Stefano Spezia, Jul 19 2021: (Start)
G.f.: x*(10 + 11*x + 12*x^2 + 13*x^3 + 14*x^4 + 15*x^5)/(1 - 16*x - x^6 + 16*x^7).
a(n) = 16*a(n-1) + a(n-6) - 16*a(n-7) for n > 7. (End)
PROG
(Haskell) a 1 = 10
a n = a (n - 1) * 16 + 10 + (n - 1) `mod` 6
CROSSREFS
Cf. A325911.
Sequence in context: A361364 A119043 A187204 * A133273 A239763 A112703
KEYWORD
nonn,base,easy
AUTHOR
Peter Andrew, Jul 19 2021
STATUS
approved