login
A297556
a(n) = a(n-1) + 16*a(n-3) - 16*a(n-4), where a(0) = 1, a(1) = 4, a(2) = 7, a(3) = 19.
2
1, 6, 7, 19, 99, 115, 307, 1587, 1843, 4915, 25395, 29491, 78643, 406323, 471859, 1258291, 6501171, 7549747, 20132659, 104018739, 120795955, 322122547, 1664299827, 1932735283, 5153960755, 26628797235, 30923764531, 82463372083, 426060755763, 494780232499
OFFSET
0,2
COMMENTS
Conjecture: a(n) = least positive whose base-4 up-variation is n; see column 1 of A297553.
FORMULA
a(n) = a(n-1) + 16*a(n-3) - 16*a(n-4), where a(0) = 1, a(1) = 4, a(2) = 7, a(3) = 19.
G.f.: (1 + 5 x + x^2 - 4 x^3)/(1 - x - 16 x^3 + 16 x^4).
MATHEMATICA
LinearRecurrence[{1, 0, 16, -16}, {1, 6, 7, 19}, 40]
CROSSREFS
Cf. A297553.
Sequence in context: A074342 A329072 A102789 * A286969 A285913 A285828
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jan 21 2018
STATUS
approved