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.

A236107 Nonprimes whose divisors are partition numbers.

Original entry on oeis.org

1, 15, 22, 77
Offset: 1

Views

Author

Omar E. Pol, Jan 22 2014

Keywords

Comments

By definition all terms are partition numbers.
Conjecture: no terms exist beyond 77. - Jon E. Schoenfield, Feb 05 2014

Examples

			15 is in the sequence because 15 is a nonprime number and the divisors of 15 are 1, 3, 5, 15, which are also partition numbers.
		

Crossrefs

Programs

  • Mathematica
    nmax = 1000;
    pp = PartitionsP[Range[nmax]];
    selQ[n_] := Module[{dd = Divisors[n]}, Intersection[pp, dd] == dd];
    Select[Range[nmax], !PrimeQ[#] && selQ[#]&] (* Jean-François Alcover, Apr 09 2020 *)