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!)
A243532 Prime numbers containing the string 16. 2
163, 167, 1163, 1601, 1607, 1609, 1613, 1619, 1621, 1627, 1637, 1657, 1663, 1667, 1669, 1693, 1697, 1699, 2161, 3163, 3167, 3169, 5167, 6163, 8161, 8167, 9161, 10163, 10169, 11161, 11617, 11621, 11633 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) ~ n log n. - Charles R Greathouse IV, Jun 20 2014
MATHEMATICA
Select[Prime[Range[2000]], !StringFreeQ[ToString[#], "16" ]&]
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, 16) \\ Charles R Greathouse IV, Jun 20 2014
CROSSREFS
Cf. similar sequences listed in A243529.
Sequence in context: A185444 A217546 A057604 * A272984 A230869 A132250
KEYWORD
nonn,base
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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)