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!)
A245576 Primes p such that p and p^2 lack the zero digit in their decimal expansions. 3
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 59, 61, 67, 73, 79, 83, 89, 113, 127, 131, 137, 139, 157, 163, 167, 173, 181, 191, 193, 211, 223, 227, 229, 233, 239, 263, 269, 271, 277, 281, 293, 311, 313, 337, 359, 367, 373, 379, 383, 389, 419, 421, 431, 433 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Subsequence of A052042. First terms that are in A052042 but not here: 107, 109, 307, 409.
LINKS
MATHEMATICA
fQ[n_] := Min[IntegerDigits[n]] > 0; Select[Prime @ Range @ 90, fQ[#] && fQ[#^2] &]
PROG
(PARI) (vmd (n) = vecmin (digits (n))); p = 2; for (k = 1, 300, if (vmd (p) > 0 && vmd (p^2) > 0, print1 (p ", " )); p = nextprime (1 + p))
(Python)
from sympy import prime
A245576_list = [p for p in (prime(i) for i in range(1, 10**4)) if not(str(p).count('0') or str(p**2).count('0'))]
# Chai Wah Wu, Dec 27 2014
CROSSREFS
Sequence in context: A049555 A281295 A052042 * A086472 A219669 A109611
KEYWORD
base,nonn
AUTHOR
Zak Seidov, Dec 25 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 2 21:38 EDT 2024. Contains 373051 sequences. (Running on oeis4.)