login
Primes p with a prime number of syllables in their name in American English.
4

%I #22 May 27 2024 22:38:01

%S 7,11,13,17,19,23,29,31,41,43,53,59,61,83,89,107,113,127,137,157,167,

%T 173,179,197,227,257,271,307,313,337,347,367,373,379,397,419,457,467,

%U 479,487,547,557,571,587,607,613,619,647,673,701,709,733,739,743,751

%N Primes p with a prime number of syllables in their name in American English.

%C The word "and" is excluded, 101 is "one hundred one" rather than "one hundred and one."

%C See A231073 and A231075 for the analogs counting words resp. letters. - _M. F. Hasler_, Nov 03 2013

%H <a href="/index/El#English">Index to OEIS: sequences related to English words for n</a>

%F {p in A000040 such that A075774(p) is in A000040}.

%e 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.

%o (PARI) forprime(p=1,900,isprime(A075774(p))&&print1(p",")) \\ - _M. F. Hasler_, Nov 03 2013

%o (PARI) is(p)=isprime(A075774(p))&&isprime(p) \\ - _M. F. Hasler_, Nov 03 2013

%o (Python) # uses function in A075774

%o from sympy import isprime

%o def ok(n): return isprime(A075774(n)) and isprime(n)

%o print([k for k in range(800) if ok(k)]) # _Michael S. Branicky_, May 27 2024

%Y Cf. A000040, A075774, A164043.

%K word,easy,nonn

%O 1,1

%A _Jonathan Vos Post_, Aug 02 2009

%E Extended and edited by _Charles R Greathouse IV_, Nov 02 2009

%E Values double-checked by _M. F. Hasler_, Nov 03 2013