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!)
A307851 Prime numbers prime(k) with a zeroless decimal representation such that (product of decimal digits of prime(k)) / k is an integer. 0
2, 17, 73, 89, 2475989 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
C. Pomerance and Ch. Spicer, Proof of the Sheldon Conjecture.
EXAMPLE
For k = 21, prime(21) = 73, product of decimal digits of prime(k) / k = 7 * 3 / 21 = 1 so prime(21) = 73 is in the sequence.
PROG
(PARI) lista(nn) = {my(ip=0, d); forprime(p=2, nn, ip++; d = digits(p); if (vecmin(d) && !(frac(vecprod(d)/ip)), print1(p, ", ")); ); } \\ Michel Marcus, May 02 2019
(Python)
from math import prod
from sympy import nextprime
def aupton(terms):
p, k, t = 2, 1, 0
while t < terms:
strp = str(p)
if '0' not in strp and prod(int(d) for d in strp)%k == 0:
t += 1; print(p, end=", ")
p, k = nextprime(p), k+1
aupton(5) # Michael S. Branicky, Feb 17 2021
CROSSREFS
Sequence in context: A268784 A338088 A155715 * A054568 A338087 A235471
KEYWORD
base,nonn,more
AUTHOR
Ctibor O. Zizka, May 01 2019
EXTENSIONS
a(5) from Alois P. Heinz, May 01 2019
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 9 03:53 EDT 2024. Contains 373227 sequences. (Running on oeis4.)