OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
EXAMPLE
From Rémi Guillaume, Dec 28 2023: (Start)
PROG
(PARI) j=[]; for(n=1, 300, if(isprime(n^3-(n-1)^3), j=concat(j, primepi(n^3-(n-1)^3)))); j
(Python)
from sympy import isprime, primepi
A145203_list = [primepi(3*n*(n+1)+1) for n in range(10**3) if isprime(3*n*(n+1)+1)] # Chai Wah Wu, Jun 02 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander R. Povolotsky, Oct 04 2008
STATUS
approved