OFFSET
1,1
FORMULA
a(n) = 4 + prime(n)^2.
MATHEMATICA
Table[4+Prime[n]^2, {n, 43}]
Prime[Range[50]]^2+4 (* Harvey P. Dale, Feb 16 2020 *)
PROG
(Python)
from sympy import prime, primerange
def aupton(terms): return [4 + p*p for p in primerange(2, prime(terms)+1)]
print(aupton(43)) # Michael S. Branicky, Aug 13 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
XU Pingya, Jun 02 2017
STATUS
approved