[go: up one dir, main page]

login
A285623
Positions of 1 in A285621; complement of A285622.
3
1, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 20, 21, 24, 25, 28, 29, 32, 33, 34, 35, 36, 37, 40, 41, 44, 45, 46, 47, 48, 49, 52, 53, 56, 57, 58, 59, 60, 61, 64, 65, 68, 69, 70, 71, 72, 73, 76, 77, 80, 81, 82, 83, 84, 85, 88, 89, 92, 93, 94, 95, 96, 97, 100, 101, 104
OFFSET
1,2
COMMENTS
Conjecture: a(n)/n -> (1 + sqrt(5))/2 = golden ratio (A001622).
EXAMPLE
As a word, A285621 = 10011111100110..., in which 1 is in positions 1,4,5,6,7,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {1, 1}, 1 -> {1, 0, 0, 1}}] &, {0}, 10] (* A285621 *)
Flatten[Position[s, 0]] (* A285622 *)
Flatten[Position[s, 1]] (* A285623 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 01 2017
STATUS
approved