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!)
A243529 Prime numbers containing the string 12. 5
127, 1123, 1129, 1201, 1213, 1217, 1223, 1229, 1231, 1237, 1249, 1259, 1277, 1279, 1283, 1289, 1291, 1297, 2129, 3121, 4127, 4129, 6121, 7121, 7127, 7129, 8123, 9127, 11213, 11239, 11243, 11251, 11257, 11261, 11273, 11279, 11287 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Subsequence of A208272. [Bruno Berselli, May 06 2015]
LINKS
FORMULA
a(n) ~ n log n. - Charles R Greathouse IV, Jun 20 2014
MATHEMATICA
Select[Prime[Range[2000]], ! StringFreeQ[ToString[#], "12" ] &]
PROG
(PARI) contains(n, k)=my(N=digits(n), K=digits(k)); for(i=0, #N-#K, for(j=1, #K, if(N[i+j]!=K[j], next(2))); return(1)); 0
is(n)=isprime(n) && contains(n, 12) \\ Charles R Greathouse IV, Jun 20 2014
CROSSREFS
Cf. similar sequences listed in A257667.
Sequence in context: A038994 A068023 A194257 * A299718 A300339 A189026
KEYWORD
nonn,base,less
AUTHOR
Vincenzo Librandi, Jun 06 2014
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 June 6 00:30 EDT 2024. Contains 373110 sequences. (Running on oeis4.)