OFFSET
1,1
COMMENTS
Leading zeros are allowed in the number that appears after the digit is deleted, as in A080608. - Michael S. Branicky, Jan 28 2023
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
MATHEMATICA
Q@n_:=AnyTrue[FromDigits@Delete[IntegerDigits@n, #]&/@Range@IntegerLength@n, PrimeQ]; Select[Prime@Range@500, Q@# &] (* Hans Rudolf Widmer, Jun 09 2024 *)
PROG
(Python)
from sympy import isprime
def ok(n):
if n < 10 or not isprime(n): return False
s = str(n)
si = (s[:i]+s[i+1:] for i in range(len(s)))
return any(isprime(int(t)) for t in si)
print([k for k in range(368) if ok(k)]) # Michael S. Branicky, Jan 28 2023
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
David W. Wilson, Feb 25 2003
STATUS
approved