A386314 a(1) = 1 and thereafter a(n) is the smallest number k of the form 6*x+-1 not already in the sequence but where the reduced Collatz step A139391(k) is in the sequence.
1, 5, 13, 17, 11, 7, 29, 19, 25, 37, 49, 53, 35, 23, 61, 65, 43, 77, 85, 101, 67, 89, 59, 113, 133, 149, 157, 173, 115, 181, 197, 131, 205, 209, 139, 185, 229, 241, 245, 163, 217, 269, 179, 119, 79, 277, 289, 301, 305, 203, 317, 211, 281, 187, 325, 341, 227, 151, 349, 373
Offset: 1
Examples
a(3) = 13, since 13 (a pre-image of a(2) = 5) is the smallest unused pre-image of a(1) and a(2). a(10) = 37 since 37 (a pre-image of a(6) = 7) is the smallest unused pre-image of all previous terms.
Links
- David A. Corneth, Table of n, a(n) for n = 1..10000 (using Michel Marcus' code)
- Sean A. Irvine, Java program (github)
Programs
-
PARI
lista(nn) = my(va=List(1), vs = Map(), imin=1, i=imin, nb=1); mapput(vs, 1, 1); while(#va
Michel Marcus, Aug 25 2025
Comments