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!)
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

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

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

Adjacent sequences:  A243529 A243530 A243531 * A243533 A243534 A243535

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 6 09:04 EDT 2021. Contains 343580 sequences. (Running on oeis4.)