login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A333816 Number of ways to write n as the difference of two hexagonal numbers. 6
1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 2, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 2, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 2, 1, 1, 0, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,45
LINKS
FORMULA
G.f.: Sum_{k>=1} x^(k*(2*k - 1)) / (1 - x^(4*k)).
G.f.: Sum_{i>=0} Sum_{j>=i} Product_{k=i..j} x^(4*k + 1).
MATHEMATICA
nmax = 92; CoefficientList[Series[Sum[x^(k (2 k - 1))/(1 - x^(4 k)), {k, 1, nmax}], {x, 0, nmax}], x] // Rest
nmax = 92; Rest[CoefficientList[Series[Sum[x^(k*(2*k - 1))/(1 - x^(4*k)), {k, 1, 1 + Sqrt[nmax/2]}], {x, 0, nmax}], x]] (* Vaclav Kotesovec, Apr 19 2020 *)
CROSSREFS
Sequence in context: A298426 A130068 A316825 * A363709 A246398 A051699
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 06 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)