OFFSET
1,2
COMMENTS
All terms are multiples of 3. - Zak Seidov, Aug 11 2006
A201704 is primes of form 8*k^2+7. James C. McMahon, Oct 12 2024
EXAMPLE
If k=135 then 8*k^2 + 7 = 145807 (prime).
MAPLE
a:=proc(n) if isprime(8*n^2+7)=true then n else fi end: seq(a(n), n=0..1000); # Emeric Deutsch, Aug 11 2006
MATHEMATICA
Select[Range[0, 780], PrimeQ[8#^2+7]&] (* James C. McMahon, Oct 12 2024 *)
PROG
(Magma) [ n: n in [0..1500] | IsPrime(8*n^2 + 7) ]; // Vincenzo Librandi, Jan 31 2011
(PARI) is(n)=isprime(8*n^2+7) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Aug 10 2006
EXTENSIONS
More terms from Emeric Deutsch and Joshua Zucker, Aug 11 2006
STATUS
approved