OFFSET
1,2
COMMENTS
a(n) == 1 (mod 4) because the trajectory of 4x+3 is (4x+3, 12x+10, 6x+5, ...) and 6x+5 > 4x+3.
LINKS
Markus Sigg, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = (A176869(n) - 1) / 3 for n > 1.
EXAMPLE
The odd elements of the Collatz trajectory (3,10,5,16,8,4,2,1) are {3,5,1} with maximum 5 > 3, so 3 is not a term. The odd elements of the Collatz trajectory (13,40,20,10,5,16,8,4,2,1) are {13,5,1} with maximum 13, so 13 is a term.
PROG
(PARI)
makeEntries(count) = {
my(L = List(), k = 1);
while(#L < count,
my(m = k);
while(m > 1 && m <= k,
m = 3*m + 1;
while(m % 2 == 0, m = m / 2);
);
if(m == 1, listput(L, k));
k += 2
);
L
};
print(Vec(makeEntries(56)));
CROSSREFS
KEYWORD
nonn
AUTHOR
Markus Sigg, Sep 03 2024
STATUS
approved