OFFSET
1,1
COMMENTS
FORMULA
a(n) = (1/2) * A241102(n).
EXAMPLE
172801 is a term because 172801 = (241^3 - 239^3)/2, and 172801, 239 and 241 are all primes.
PROG
(Python)
from itertools import islice
from sympy import isprime, nextprime
def A360490_gen(): # generator of terms
p, q = 3**3, 5
while True:
if isprime(k:=(m:=q**3)-p>>1):
yield k
p, q = m, nextprime(q)
CROSSREFS
KEYWORD
nonn
AUTHOR
Ya-Ping Lu, Feb 09 2023
STATUS
approved