OFFSET
1,1
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..10000
EXAMPLE
a(11) = 7859 because 7859 = 29 * 271, and 271 - 29 = 242 = 2*11^2.
MAPLE
A190052 := proc(n) local k, p: k:=1: do p:=ithprime(k): if(isprime(p+2*n^2))then return p*(p+2*n^2): fi: k:=k+1: od: end: seq(A190052(n), n=1..50); # Nathaniel Johnston, May 04 2011
MATHEMATICA
f[n_] := Block[{p = 3}, While[q=p+2*n^2; ! PrimeQ[q], p=NextPrime[p]]; p*q]; Table[ f[n], {n, 60}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michel Lagneau, May 04 2011
STATUS
approved