OFFSET
1,1
LINKS
Eric Angelini, An hexagonal seq?, Personal blog "Cinquante signes", Sept 2023.
EXAMPLE
Spiral begins:
49--48--47--46--45
/ \
50 28--27--26--25 44
/ / \ \
51 29 13--12--11 24 43
/ / / \ \ \
52 30 14 4---3 10 23 42
/ / / / \ \ \ \
53 31 15 5 1---2 9 22 41
\ \ \ \ / / /
54 32 16 6---7---8 21 40
\ \ \ / /
55 33 17--18--19--20 39
\ \ /
56 34--35--36--37--38
\
57--58--59--60--61
.
The 6 nearest neighbors of 2 are 1,3,7,8,9,10. Their sum is a(2)=38.
MATHEMATICA
step=9; ta[x_]:=Table[12, x]; f=Flatten[Table[Table[{ta[If[m==2, k-1, k]], 16+2m+12k}, {m, 6}], {k, 0, step}]][[3;; ]]; Join[{27, 38}, f+6Range[3, Length@f+2]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric Angelini and Giorgos Kalogeropoulos, Sep 23 2023
STATUS
approved