OFFSET
0,1
COMMENTS
Sixth column of A006370 (the Collatz or 3x+1 map) when it is interpreted as a rectangular array with six columns read by rows.
LINKS
Leo Tavares, Illustration: Triple Hexagonal Rings
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = A239129(n+1) - 1.
From Stefano Spezia, Jan 04 2022: (Start)
O.g.f.: 2*(8 + x)/(1 - x)^2.
E.g.f.: 2*exp(x)*(8 + 9*x).
a(n) = 2*a(n-1) - a(n-2) for n > 1. (End)
a(n) = 3*A008588(n+1) - 2. - Leo Tavares, Sep 14 2022
From Elmo R. Oliveira, Apr 12 2024: (Start)
MAPLE
seq(18*n+16, n=0..53);
MATHEMATICA
Table[18n+16, {n, 0, 53}]
PROG
(PARI) a(n)=18*n+16
(Magma) [18*n+16: n in [0..53]];
(Maxima) makelist(18*n+16, n, 0, 53);
(GAP) List([0..53], n-> 18*n+16)
(Python) [18*n+16 for n in range(53)]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Jan 03 2022
STATUS
approved