The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A214291 Primes of the form XYYYYYX, where Y is a single digit. 5
1333331, 1444441, 1777771, 3222223, 3444443, 7666667, 9222229, 9888889, 134444413, 136666613, 137777713, 191111119, 196666619, 197777719, 232222223, 295555529, 311111131, 319999931, 331111133, 379999937, 392222239, 394444439 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
f[n_]:=Block[{len=Floor[Log[10, n]+1]}, Select[10^(5+len) n+10^len*Table[k (10^5-1)/9, {k, 9}]+n, PrimeQ@#&]]; Array[f, 3509]//Flatten
PROG
(Magma) m:=5; [p: d in [1..9], n in [1..50 by 2] | IsPrime(p) where p is n*(10^(m+t)+1)+d*10^t*(10^m-1) div 9 where t is #Intseq(n)]; // Bruno Berselli, Sep 12 2013
CROSSREFS
Sequence in context: A204969 A237107 A206620 * A023047 A206254 A157854
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Jul 26 2012
STATUS
approved

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 May 17 15:29 EDT 2024. Contains 372603 sequences. (Running on oeis4.)