login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108833 Primes such that the outer 2 digits are n and n-1 and all inner digits are 5, where 0 < n < 9. 0

%I

%S 251,857,2551,45553,255551,2555551,45555553,855555557,2555555555551,

%T 45555555555555555553,45555555555555555555555555555555553,

%U 4555555555555555555555555555555555555555555555555555553

%N Primes such that the outer 2 digits are n and n-1 and all inner digits are 5, where 0 < n < 9.

%o (PARI) n10np1(n,d) = { local(x,y,k); for(x=1,n, for(k=1,8, y=10^(x+1)*k+floor(10^x*d/9)*10+k-1; if(isprime(y),print1(y",")) ) ) }

%K easy,nonn,base

%O 1,1

%A _Cino Hilliard_, Jul 11 2005

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 18 11:39 EDT 2021. Contains 345098 sequences. (Running on oeis4.)