An hexagonal seq?

I've bumped into this seq yesterday:
> Sum of the 8 nearest neighbors of n in a spiral with positive integers.
… with those beautiful graphs:
I was wondering: if we do the same on an hexagonal lattice, do we get also graphs with spikes?
If I am not wrong, the sequence would start with 27, 38, 40, 48, 56, 64… 
This is not in the OEIS.
The spiral expands like this:
_____________
Sept 23rd update
Giorgos Kalogeropoulos was quick to compute the spiral:

>Here are the first 100 terms
27, 38, 40, 48, 56, 64, 54, 78, 86, 72, 100, 84, 114, 96, 128, 108, 142, 120, 126, 162, 138, 176, 150, 156, 196, 168, 174, 216, 186, 192, 236, 204, 210, 256, 222, 228, 234, 282, 246, 252, 302, 264, 270, 276, 328, 288, 294, 300, 354, 312, 318, 324, 380, 336, 342, 348, 406, 360, 366, 372, 378, 438, 390, 396, 402, 464, 414, 420, 426, 432, 496, 444, 450, 456, 462, 528, 474, 480, 486, 492, 560, 504, 510, 516, 522, 592, 534, 540, 546, 552, 558, 630, 570, 576, 582, 588, 662, 600, 606, 612

...Thank you Giorgos – and for the beautiful graphs too (with spikes cut!-)
This will enter the OEIS soon, I hope.





























 


Commentaires

Posts les plus consultés de ce blog

A square for three (chess)

Le tripalin se présente

Some strings au cinéma Galeries