OFFSET
1,1
COMMENTS
Used in a primality test.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Chris Caldwell, Prime Test.
MAPLE
p:=proc(n) if isprime(28*n+1)=true then 28*n+1 else fi end: seq(p(n), n=1..160); # Emeric Deutsch, Feb 26 2005
MATHEMATICA
Select[Table[28*n+1, {n, 0, 700}], PrimeQ] (* Vincenzo Librandi, Jul 17 2012 *)
PROG
(Magma) [a: n in [0..200] | IsPrime(a) where a is 28*n+1]; // Vincenzo Librandi, Jul 17 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jun Mizuki (suzuki32(AT)sanken.osaka-u.ac.jp), Apr 27 2004
EXTENSIONS
More terms from Emeric Deutsch, Feb 26 2005
STATUS
approved