OFFSET
1,2
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, C program for A341285
EXAMPLE
The first terms of the elements b of B such that g(b) <= 3 are:
g(b) b(0) b(1) b(2) b(3) b(4) b(5) b(6) b(7) b(8) b(9)
---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
1 1 1 1 1 1 1 1 1 1 1
2 2 2 2 2 2 2 2 2 2 2
2 1 1 2 3 5 8 13 21 34 55
3 3 3 3 3 3 3 3 3 3 3
3 1 2 3 5 8 13 21 34 55 89
3 2 1 3 4 7 11 18 29 47 76
3 1 1 1 3 5 9 17 31 57 105
- so a(1) = 1,
a(2) = a(3) = a(5) = a(8) = 2,
a(4) = a(7) = a(9) = a(11) = a(17) = a(18) = 3.
PROG
(C) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Feb 16 2021
STATUS
approved