|
|
A273191
|
|
a(n) is the length of the n-th run of A273190.
|
|
2
|
|
|
1, 1, 1, 6, 1, 3, 4, 2, 6, 1, 7, 4, 4, 9, 1, 10, 4, 8, 9, 3, 14, 2, 12, 9, 7, 34, 7, 11, 16, 4, 20, 5, 17, 14, 8, 24, 1, 23, 12, 14, 23, 3, 28, 8, 20, 21, 9, 30, 4, 28, 17, 15, 32, 2, 34, 13, 23, 28, 8, 38, 7, 31, 24, 16, 40, 1, 41, 18, 24, 37, 7
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,4
|
|
LINKS
|
|
|
MATHEMATICA
|
Length /@ Split@ Table[Count[Range[0, n - 1], m_ /; IntegerQ@ Sqrt[m + n]], {n, 0, 10^3}] (* Michael De Vlieger, May 24 2016 *)
|
|
PROG
|
(Haskell)
import Data.List (group)
a273191 n = a273191_list !! (n - 1)
a273191_list = (map length . group) $ map a273190 [0..]
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|