OFFSET
1,1
COMMENTS
Sequence is a subsequence of A198584. When any term is iterated using the Collatz function, the last odd integer in the trajectory before 1 is of the form (4^(3*m + 2) - 1)/3.
MATHEMATICA
Take[Sort[Flatten[Table[(2^(2n1+6n2+5) - 2^(2n1+1) - 3)/9, {n1, 0, 20}, {n2, 0, 20}]]], 50]
PROG
(Python)
seq=[]
for n1 in range(20):
for n2 in range(20):
n=(2**(2*n1+6*n2+5) - 2**(2*n1+1) - 3)/9
seq.append(n)
seq.sort()
print(seq[0:50])
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Satya Das, Mar 22 2021
STATUS
approved