login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A068678 Numbers that yield a prime when a 9 is prefixed or suffixed to them. 0

%I #11 May 06 2018 00:43:04

%S 7,19,37,41,47,71,83,91,103,127,157,161,187,199,203,209,239,257,281,

%T 293,311,349,371,377,391,413,421,433,463,467,479,491,511,539,547,551,

%U 587,619,629,661,677,689,721,749,769,787,791,803,817,859,871,883,923

%N Numbers that yield a prime when a 9 is prefixed or suffixed to them.

%e 127 is a member as both 1279 and 9127 are primes.

%p i := 0:for k from 1 to 3200 do if(isprime(9+10*k) and isprime(k+10^(ceil(evalf(log(k+1)/log(10))))*9)) then s[i] := k; i := i+1; end if; end do:q := seq(s[j],j=0..i-1);

%Y Cf. A068673, A068674, A068677.

%K base,easy,nonn

%O 1,1

%A _Amarnath Murthy_, Mar 02 2002

%E More terms from _Sascha Kurz_, Mar 17 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)