OFFSET
1,1
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..1111
EXAMPLE
123457189 is a prime and appears in the sequence because 123457189 = 20^2 + 123456789.
123459289 is a prime and appears in the sequence because 123459289 = 50^2 + 123456789.
MAPLE
KD := proc() local a; a:=n^2+123456789; if isprime(a) then RETURN (a); fi; end: seq(KD(), n=1..1000);
MATHEMATICA
Select[Table[k^2+123456789, {k, 1, 3000}], PrimeQ]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
K. D. Bajpai, Apr 08 2014
STATUS
approved