A166457 Numbers n such that n*100+1 is prime.
1, 4, 6, 7, 12, 13, 16, 18, 19, 28, 30, 33, 37, 40, 42, 48, 51, 55, 57, 58, 61, 63, 67, 70, 79, 81, 85, 90, 96, 99, 103, 105, 106, 117, 118, 121, 123, 124, 126, 130, 139, 144, 151, 154, 156, 159, 160, 163, 169, 174, 183, 184, 187, 190, 193, 195, 198, 201, 202, 210, 211
Offset: 1
Examples
a(1)=1 (1*100+1=prime); a(2)=4 (4*100+1=prime).
Links
- G. C. Greubel, Table of n, a(n) for n = 1..10000
Programs
-
Maple
a := proc (n) if isprime(100*n+1) then n else end if end proc: seq(a(n), n = 1 .. 250); # Emeric Deutsch, Nov 01 2009
-
Mathematica
Select[If[PrimeQ[100*# + 1], #] & /@ Range[2*8!], IntegerQ] (* G. C. Greubel, May 15 2016 *)
-
PARI
is(n)=isprime(n*100+1) \\ Charles R Greathouse IV, Jun 13 2017
Extensions
Extended by Emeric Deutsch, Nov 01 2009