OFFSET
1,1
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..554
Index entries for linear recurrences with constant coefficients, signature (65,-64).
FORMULA
a(n) = (10*64^(n-1)-1)/3. - Henry Bottomley, Dec 02 2002 [Formula adapted to a change of offset by Georg Fischer, Apr 10 2024]
EXAMPLE
(3*3+1)/2=5, (3*213+1)/2^7=5, etc. Thus multiples of 3 act as generators on the numbers in the Collatz domain.
MAPLE
seq((10*64^(n-1)-1)/3, n=1..13); # Georg Fischer, Apr 10 2024
MATHEMATICA
Array[(10*64^(# - 1) - 1)/3 &, 13] (* Michael De Vlieger, Apr 10 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. Rathankar (rathankar(AT)yahoo.com), Jul 03 2002
EXTENSIONS
More terms from Henry Bottomley, Dec 02 2002
STATUS
approved