OFFSET
1,1
COMMENTS
The word "and" is excluded, 101 is "one hundred one" rather than "one hundred and one."
EXAMPLE
a(1) = 7, which has a prime number, 2, of syllables sev-en. a(2) = 11, which has a prime number, 3, of syllables e-lev-en.
PROG
(PARI) forprime(p=1, 900, isprime(A075774(p))&&print1(p", ")) \\ - M. F. Hasler, Nov 03 2013
(PARI) is(p)=isprime(A075774(p))&&isprime(p) \\ - M. F. Hasler, Nov 03 2013
(Python) # uses function in A075774
from sympy import isprime
def ok(n): return isprime(A075774(n)) and isprime(n)
print([k for k in range(800) if ok(k)]) # Michael S. Branicky, May 27 2024
CROSSREFS
KEYWORD
word,easy,nonn
AUTHOR
Jonathan Vos Post, Aug 02 2009
EXTENSIONS
Extended and edited by Charles R Greathouse IV, Nov 02 2009
Values double-checked by M. F. Hasler, Nov 03 2013
STATUS
approved