A025455 a(n) is the number of partitions of n into 2 positive cubes.
0, 0, 1, 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, 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, 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
Keywords
Links
Crossrefs
Programs
-
Mathematica
Table[Count[IntegerPartitions[n,{2}],?(AllTrue[Surd[#,3],IntegerQ]&)],{n,0,110}] (* _Harvey P. Dale, Nov 23 2022 *)
-
Scheme
(define (A025455 n) (let loop ((x (A048766 n)) (s 0)) (let* ((x3 (A000578 x)) (y3 (- n x3))) (if (< x3 y3) s (loop (- x 1) (+ s (if (and (> y3 0) (= (A000578 (A048766 y3)) y3)) 1 0))))))) ;; Antti Karttunen, Aug 28 2017
Formula
If a(n) > 0 then A025456(n + k^3) > 0 for k>0; a(A113958(n)) > 0; a(A003325(n)) > 0. - Reinhard Zumkeller, Jun 03 2006
a(n) >= A025468(n). - Antti Karttunen, Aug 28 2017
a(n) = [x^n y^2] Product_{k>=1} 1/(1 - y*x^(k^3)). - Ilya Gutkovskiy, Apr 23 2019
Extensions
Secondary offset added by Antti Karttunen, Aug 28 2017
Secondary offset corrected by Michel Marcus, Apr 23 2019
Comments