login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A073085
Numbers n such that 210*n+1 is prime.
2
1, 2, 3, 5, 7, 11, 12, 13, 16, 17, 20, 22, 23, 28, 29, 30, 35, 36, 39, 42, 44, 46, 47, 50, 51, 53, 55, 57, 59, 60, 64, 67, 68, 72, 73, 74, 78, 81, 83, 85, 86, 88, 89, 93, 96, 100, 101, 104, 105, 111, 115, 117, 118, 121, 122, 124, 125, 128, 129, 135, 137, 139, 140, 141
OFFSET
1,2
LINKS
EXAMPLE
1 is a member because 210*1+1=211 is prime; 100 is a member because 210*100+1=21001 is prime.
MATHEMATICA
Flatten[Position[PrimeQ[210Range[100]+1], True]]
Select[Range[150], PrimeQ[(210*# + 1)] &] (* Vincenzo Librandi, Sep 30 2012 *)
PROG
(Magma) [n: n in [1..200] | IsPrime(210*n + 1)]; Vincenzo Librandi, Sep 30 2012
(PARI) is(n)=isprime(210*n+1) \\ Charles R Greathouse IV, May 22 2017
CROSSREFS
Cf. A073102.
Sequence in context: A001742 A307714 A369254 * A340657 A316793 A119251
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Oct 08 2002
STATUS
approved