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.

A025469 Number of partitions of n into 3 distinct positive cubes.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 0

Views

Author

Keywords

Comments

In other words, number of solutions to the equation n = x^3 + y^3 + z^3 with x > y > z > 0. - Antti Karttunen, Aug 29 2017

Examples

			From _Antti Karttunen_, Aug 29 2017: (Start)
For n = 36 there is one solution: 36 = 27 + 8 + 1, thus a(36) = 1.
For n = 1009 there are two solutions: 1009 = 10^3 + 2^3 + 1^3 = 9^3 + 6^3 + 4^3, thus a(1009) = 2. This is also the first point where sequence attains value greater than one.
(End)
		

Crossrefs

Cf. A025465 (not necessarily distinct), A025468, A025419 (greedy inverse).
Cf. A024975 (positions of nonzero terms), A024974 (positions of terms > 1), A025399-A025402.

Programs

Formula

a(n) = A025465(n) - A025468(n). - Antti Karttunen, Aug 29 2017

A025468 a(n) is the number of partitions of n into 2 distinct positive cubes.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 0

Views

Author

Keywords

Comments

In other words, number of solutions to the equation n = x^3 + y^3 with x > y > 0. The first value > 1 is a(1729) = 2. - Antti Karttunen, Aug 29 2017

Crossrefs

Programs

Formula

From Antti Karttunen, Aug 28-29 2017: (Start)
a(n) = A025465(n) - A025469(n).
a(n) <= A025455(n).
(End)

A025466 Number of partitions of n into 4 distinct nonnegative cubes.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0
Offset: 0

Views

Author

Keywords

Comments

In other words, number of solutions to the equation n = w^3 + x^3 + y^3 + z^3 with w > x > y > z >= 0. - Antti Karttunen, Sep 21 2018

Examples

			For n=540 we have two solutions: 540 = (0^3 + 1^3 + 3^3 + 8^3) = (2^3 + 4^3 + 5^3 + 7^3), thus a(540) = 2. This is the first point where a(n) > 1. - _Antti Karttunen_, Sep 21 2018
		

Crossrefs

Programs

  • PARI
    A025466(n) = { my(s=0); for(w=0,n,if(ispower(w,3),for(x=w+1,n-w,if(ispower(x,3),for(y=x+1,n-(w+x),if(ispower(y,3),for(z=y+1,n-(w+x+y),if((ispower(z,3)&&(w+x+y+z)==n),s++)))))))); (s); }; \\ Antti Karttunen, Sep 21 2018

Extensions

Secondary offset added by Antti Karttunen, Sep 21 2018
Showing 1-3 of 3 results.