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.

A046063 Numbers k such that the k-th partition number A000041(k) is prime.

Original entry on oeis.org

2, 3, 4, 5, 6, 13, 36, 77, 132, 157, 168, 186, 188, 212, 216, 302, 366, 417, 440, 491, 498, 525, 546, 658, 735, 753, 825, 841, 863, 1085, 1086, 1296, 1477, 1578, 1586, 1621, 1793, 2051, 2136, 2493, 2502, 2508, 2568, 2633, 2727, 2732, 2871, 2912, 3027, 3098, 3168, 3342, 3542, 3641, 4118
Offset: 1

Views

Author

Keywords

Comments

The corresponding primes are given in A049575. - Joerg Arndt, May 09 2013

Crossrefs

Programs

  • Mathematica
    Select[ Range@3341, PrimeQ@ PartitionsP@# &] (* Robert G. Wilson v *)
  • PARI
    for(n=0,10^5,my(p=numbpart(n));if(isprime(p),print1(n,", "))); \\ Joerg Arndt, May 09 2013
    
  • Python
    from sympy import isprime, npartitions
    print([n for n in range(1, 5001) if isprime(npartitions(n))]) # Indranil Ghosh, Apr 10 2017

Extensions

b-file extended by Max Alekseyev, Jul 07 2009, Jun 14 2011, Jan 08 2012, May 19 2014

A115214 Numbers n such that p(12n) is prime, where p(n) is the number of partitions of n.

Original entry on oeis.org

3, 11, 14, 18, 108, 178, 209, 214, 264, 704, 1085, 1354, 1523, 2550, 2770, 2831, 3709, 6055, 8241, 9011, 10590, 11360, 11780, 15358, 18305, 23576, 23628, 24331, 25589, 25620, 32435, 40219, 41373, 48204, 50239, 53174, 55984, 57521, 78831, 84136
Offset: 1

Views

Author

Robert G. Wilson v, Nov 14 2005

Keywords

Comments

n belongs to this sequence if and only if 12n belongs to A046063.

Crossrefs

Programs

  • Mathematica
    Select[ Range@34000, PrimeQ@ PartitionsP[12# ] &]

Extensions

More terms from Max Alekseyev, Dec 18 2011

A113518 Numbers n such that P(13*n) is prime, where P(n) is the unrestricted partition number.

Original entry on oeis.org

1, 42, 122, 224, 1665, 1861, 2504, 2530, 4750, 4765, 7831, 9589, 9932, 12141, 15574, 15749, 22629, 23492, 24350, 25819, 29837, 29940, 31106, 43589, 44496, 47526, 47751, 48020, 49216, 49304, 49637, 58051, 62381, 64112, 66710, 67047, 69244, 73954, 76985, 77664, 82824, 91694, 92749, 99625
Offset: 1

Views

Author

Parthasarathy Nambi, Jan 12 2006

Keywords

Comments

Integer n belongs to this sequence if and only if 13*n belongs to A046063.

Examples

			If n=224 then P(13*n) is a prime with 56 digits.
		

Crossrefs

Programs

Extensions

a(5)-a(20) from Robert G. Wilson v, Jan 17 2006
Terms a(21) onward from Max Alekseyev, Dec 18 2011
Showing 1-3 of 3 results.