OFFSET
0,2
COMMENTS
A032378 has been inspired by the Concrete Mathematics Casino problem (see reference).
REFERENCES
R. L. Graham, D. E. Knuth and O. Patashnik, Concrete Mathematics. 2nd Edition. Addison-Wesley, Reading, MA, 1994. Section 3.2, p74-76.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..10000
MATHEMATICA
PROG
(Magma)
A032378:=[k*j: j in [(k^2+1)..(k^2+3*k+3)], k in [1..15]];
[n eq 0 select 1 else 1+(&+[A032378[j]: j in [1..n]]): n in [0..100]]; // G. C. Greubel, Jul 20 2023
(SageMath)
A032378=flatten([[k*j for j in range((k^2+1), (k^2+3*k+3)+1)] for k in range(1, 15)])
[A066353(n) for n in range(101)] # G. C. Greubel, Jul 20 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 22 2001
STATUS
approved