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!)
A319185 Numbers that are sums of consecutive hexagonal numbers (A000384). 5
0, 1, 6, 7, 15, 21, 22, 28, 43, 45, 49, 50, 66, 73, 88, 91, 94, 95, 111, 120, 139, 153, 154, 157, 160, 161, 190, 202, 211, 230, 231, 245, 251, 252, 273, 276, 277, 322, 325, 343, 350, 364, 365, 371, 372, 378, 421, 430, 435, 463, 475, 496, 503, 507, 518, 524, 525, 554, 561 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
Eric Weisstein's World of Mathematics, Hexagonal Number
MATHEMATICA
anmax = 1000; nmax = Floor[Sqrt[anmax/2]] + 1; Select[Union[Flatten[Table[Sum[k*(2*k-1), {k, i, j}], {i, 0, nmax}, {j, i, nmax}]]], # <= anmax &] (* Vaclav Kotesovec, Dec 21 2018 *)
CROSSREFS
Sequence in context: A085512 A165767 A292348 * A196223 A106680 A214325
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 21 2018
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 19 13:40 EDT 2024. Contains 371792 sequences. (Running on oeis4.)