cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-3 of 3 results.

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

Original entry on oeis.org

7, 11, 13, 17, 19, 23, 29, 31, 41, 43, 53, 59, 61, 83, 89, 107, 113, 127, 137, 157, 167, 173, 179, 197, 227, 257, 271, 307, 313, 337, 347, 367, 373, 379, 397, 419, 457, 467, 479, 487, 547, 557, 571, 587, 607, 613, 619, 647, 673, 701, 709, 733, 739, 743, 751
Offset: 1

Views

Author

Jonathan Vos Post, Aug 02 2009

Keywords

Comments

The word "and" is excluded, 101 is "one hundred one" rather than "one hundred and one."
See A231073 and A231075 for the analogs counting words resp. letters. - M. F. Hasler, Nov 03 2013

Examples

			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.
		

Crossrefs

Programs

Formula

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

Extensions

Extended and edited by Charles R Greathouse IV, Nov 02 2009
Values double-checked by M. F. Hasler, Nov 03 2013

A230956 Semiprimes k with a semiprime number of syllables in their name in American English.

Original entry on oeis.org

57, 74, 87, 106, 111, 121, 122, 123, 129, 133, 134, 141, 142, 143, 145, 146, 155, 158, 159, 161, 166, 169, 183, 185, 194, 201, 202, 203, 205, 206, 209, 217, 221, 226, 235, 249, 253, 254, 259, 262, 265, 289, 291, 295, 298, 299, 301, 302, 303, 305, 309
Offset: 1

Views

Author

Jonathan Vos Post, Nov 04 2013

Keywords

Comments

This is to A163648 as semiprimes A001358 are to primes A000040.
The word "and" is excluded, 101 is "one hundred one" rather than "one hundred and one."
Number of syllables in n in American English is A075774.
See A231073 and A231075 for prime analogs counting words respectively letters.

Examples

			87 is in the sequence because 87 = 3 * 29 is semiprime, "eighty-seven" has 4 syllables, and 4 = 2^2 is also semiprime.
106 is in the sequence because 106 = 2 * 53 is semiprime and "one hundred six" has semiprime 4 syllables.
111 is in the sequence because 111 = 3 * 37 is semiprime and "one hundred eleven" has semiprime 6 = 2*3 syllables.
		

Crossrefs

Programs

  • Python
    # uses function in A075774
    from sympy import factorint
    def issemiprime(n): return sum(factorint(n).values()) == 2
    def ok(n): return issemiprime(A075774(n)) and issemiprime(n)
    print([k for k in range(310) if ok(k)]) # Michael S. Branicky, May 27 2024

Formula

{k: k is in A001358 and A075774(k) is in A001358}.

Extensions

Corrected and extended by Charles R Greathouse IV, Jan 23 2014

A231075 Primes with a prime number of letters (A005589) in their (American) English name.

Original entry on oeis.org

2, 3, 7, 23, 37, 79, 83, 97, 101, 131, 149, 181, 191, 269, 281, 307, 337, 379, 383, 397, 419, 461, 541, 577, 601, 617, 631, 659, 691, 727, 733, 787, 797, 823, 827, 883, 887, 911, 919, 941, 977, 1013, 1019, 1051, 1061, 1129, 1151, 1153, 1163, 1171
Offset: 1

Views

Author

M. F. Hasler, Nov 03 2013

Keywords

Comments

Spaces and hyphens don't count, as in A005589. See A163648 and A231073 for the analogs counting syllables resp. words.
Sequence A072686 is the British English analog, which in particular uses the additional "and": It features "one hundred and nine", but not "one hundred and one". In the present sequence, we do have "one hundred one" but not "one hundred nine".

Programs

  • PARI
    is(p)=isprime(A005589(p))&&isprime(p)
    
  • PARI
    forprime(p=1,1200,isprime(A005589(p))&&print1(p","))
Showing 1-3 of 3 results.