OFFSET
1,2
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Knuth Number.
EXAMPLE
10 is a term because the 10th Knuth number, 13, is prime.
PROG
(Python)
from sympy import isprime, primepi
from itertools import count, islice
def agen():
A007448n, A007448lst = 1, [1]
for n in count(0):
if isprime(A007448n):
yield n
A007448n = 1 + min(2*A007448lst[n//2], 3*A007448lst[n//3])
A007448lst.append(A007448n)
print(list(islice(agen(), 61))) # Michael S. Branicky, Jul 15 2022
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Ryan Propper, Jul 11 2005
EXTENSIONS
Extended by Ray Chandler, Jul 24 2005
STATUS
approved