|
|
A275673
|
|
List of numbers that are in a spoke of a hexagonal spiral.
|
|
1
|
|
|
1, 2, 3, 4, 5, 6, 7, 9, 11, 13, 15, 17, 19, 22, 25, 28, 31, 34, 37, 41, 45, 49, 53, 57, 61, 66, 71, 76, 81, 86, 91, 97, 103, 109, 115, 121, 127, 134, 141, 148, 155, 162, 169, 177, 185, 193, 201, 209, 217, 226, 235, 244, 253, 262, 271, 281, 291, 301, 311, 321
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Alternatively, this sequence consists of the numbers of the form 3k^2 + bk + 1 for nonnegative k and -2 <= b <= 3.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 2*a(n-1)-a(n-2)+a(n-6)-2*a(n-7)+a(n-8) for n>8.
G.f.: x*(1-x^6+x^7) / ((1-x)^3*(1+x)*(1-x+x^2)*(1+x+x^2)).
(End)
Conjecture: a(n) = (n+4-3*floor((n+4)/6)-2)*floor((n+4)/6)+1. - Luce ETIENNE, May 25 2017
|
|
PROG
|
(Haskell)
a275673 n = a275673_list !! (n - 1)
a275673_list = scanl (+) 1 $ concatMap (replicate 6) [1..]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|