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.

A316899 Number of integer partitions of n into relatively prime parts whose reciprocal sum is an integer.

Original entry on oeis.org

1, 1, 1, 1, 2, 2, 2, 2, 3, 4, 6, 6, 8, 8, 10, 10, 14, 14, 19, 20, 25, 29, 33, 34, 41, 47, 54, 61, 75, 81, 97, 103, 121, 132, 155, 164, 200, 221, 252, 274, 320, 348, 405, 442, 501, 554, 639, 688, 784, 854, 968, 1053, 1198, 1298, 1475, 1602, 1797, 1965, 2213, 2399
Offset: 1

Views

Author

Gus Wiseman, Jul 16 2018

Keywords

Comments

The reciprocal sum of (y_1, ..., y_k) is 1/y_1 + ... + 1/y_k.

Examples

			The a(13) = 8 partitions are (63211), (442111), (33322), (3331111), (2222221), (222211111), (22111111111), (1111111111111).
		

Crossrefs

Programs

  • Mathematica
    Table[Length[Select[IntegerPartitions[n],And[GCD@@#==1,IntegerQ[Sum[1/m,{m,#}]]]&]],{n,30}]
  • PARI
    a(n)={my(s=0); forpart(p=n, if(gcd(p)==1 && frac(sum(i=1, #p, 1/p[i]))==0, s++)); s} \\ Andrew Howroyd, Aug 26 2018

Extensions

a(51)-a(60) from Andrew Howroyd, Aug 26 2018