OFFSET
1,1
COMMENTS
Sequence made at the suggestion of Thomas Ordowski and with the assistance of Amiram Eldar.
a(10) > 3 * 10^11.
Is this sequence strictly increasing?
EXAMPLE
a(5) = 47 because under the described transformation 47 -> 23 -> 11 -> 5 -> 3 -> 1. This longest full chain contains 5 prime numbers and 47 is the least prime with this property.
PROG
(Python)
from sympy import isprime, nextprime
terms, x = {}, 3
while len(terms) < 7: # program is slow for a(8) and beyond
y = x
steps = 0
while y > 0 and isprime(y):
steps += 1
if y % 4 == 1:
y = (y+1)//2
elif y % 4 == 3:
y = (y-1)//2
if steps not in terms:
terms[steps] = x
x = nextprime(x)
for z in terms:
print(terms[z], end=", ")
CROSSREFS
KEYWORD
nonn,more
AUTHOR
David Consiglio, Jr., Mar 18 2026
EXTENSIONS
a(10)-a(15) from Bert Dobbelaere, Mar 31 2026
STATUS
approved
