A160324 Number of ways to express n as the sum of a square, a pentagonal number and a hexagonal number.
1, 3, 3, 1, 1, 3, 4, 3, 1, 2, 4, 3, 2, 2, 2, 4, 5, 4, 2, 2, 3, 3, 5, 3, 3, 2, 3, 5, 4, 5, 2, 5, 5, 2, 2, 1, 6, 8, 5, 2, 3, 5, 4, 3, 4, 5, 3, 3, 2, 5, 7, 7, 5, 4, 7, 4, 4, 3, 4, 4, 3, 6, 3, 2, 5, 5, 9, 7, 3, 3, 6, 9, 5, 3, 1, 8, 7, 6, 2, 5, 6, 3, 10, 4, 3, 3, 8, 7, 5, 4, 1, 4, 10, 7, 5, 4, 8, 6, 2, 8, 6, 10, 7, 5
Offset: 0
Examples
For n=10 the a(10)=4 solutions are 4+0+6, 4+5+1, 9+0+1, 9+1+0.
Links
- Zhi-Wei Sun, Table of n, a(n) for n = 0..50000
- M. B. Nathanson, A short proof of Cauchy's polygonal number theorem, Proc. Amer. Math. Soc. 99(1987), 22-24.
- G. Pall, Large positive integers are sums of four or five values of a quadratic function, Amer. J. Math. 54(1932), 66-78.
- Zhi-Wei Sun, Various new conjectures involving polygonal numbers and primes (a message to Number Theory List), May 2009.
- Zhi-Wei Sun, Mixed Sums of Primes and Other Terms (a webpage).
- Zhi-Wei Sun, On universal sums of polygonal numbers, arXiv:0905.0635 [math.NT], 2009-2015.
Programs
Formula
a(n) = |{: x,y,z=0,1,2,... & x^2+(3y^2-y)/2+(2z^2-z)=n}|.
Comments