login
A108854
Numbers n such that 10*n - 127 is prime.
0
13, 14, 15, 17, 18, 20, 21, 23, 24, 29, 30, 32, 35, 36, 39, 41, 42, 44, 48, 50, 51, 56, 57, 59, 63, 65, 69, 72, 74, 77, 78, 80, 81, 86, 87, 90, 95, 98, 99, 101, 108, 111, 114, 116, 119, 122, 123, 125, 128, 129, 132, 134, 135, 141, 143, 150, 155, 156, 158, 161, 162
OFFSET
1,1
EXAMPLE
If n=13 then 10*n - 127 = 3 (prime).
If n=39 then 10*n - 127 = 263 (prime).
MAPLE
a:=proc(n) if isprime(10*n-127)=true then n else fi end: seq(a(n), n=0..200); # Emeric Deutsch, Jul 18 2005
MATHEMATICA
Select[Range[13, 200], PrimeQ[10#-127]&] (* Harvey P. Dale, Aug 22 2021 *)
PROG
(PARI) is(n)=isprime(10*n-127) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A138596 A293831 A118140 * A106007 A048037 A346657
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jul 11 2005
EXTENSIONS
More terms from Emeric Deutsch, Jul 18 2005
STATUS
approved