OFFSET
0,6
COMMENTS
This sequence is a variant of A286327; here we consider tribonacci-like sequences, there Fibonacci like sequences. The scatterplots of these sequences are similar.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10000
Rémy Sigrist, Scatterplot of the first 100000 terms
Rémy Sigrist, Scatterplot of the first 1000000 terms
Rémy Sigrist, PARI program for A341474
FORMULA
EXAMPLE
The first terms of the elements t of T such that t(0)^2 + t(1)^2 + t(2)^2 <= 4 are:
t(0)^2+t(1)^2+t(3)^2 t(0) t(1) t(2) t(3) t(4) t(5) t(6) t(7) t(8) t(9)
-------------------- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
0 0 0 0 0 0 0 0 0 0 0
1 0 0 1 1 2 4 7 13 24 44
1 0 1 0 1 2 3 6 11 20 37
1 1 0 0 1 1 2 4 7 13 24
2 0 1 1 2 4 7 13 24 44 81
2 1 0 1 2 3 6 11 20 37 68
2 1 1 0 2 3 5 10 18 33 61
3 1 1 1 3 5 9 17 31 57 105
4 0 0 2 2 4 8 14 26 48 88
4 0 2 0 2 4 6 12 22 40 74
4 2 0 0 2 2 4 8 14 26 48
- so a(0) = 0,
a(1) = a(2) = a(3) = a(4) = a(6) = a(7) = a(11) = 1,
a(5) = a(10) = a(18) = 2,
a(9) = a(17) = 3,
a(8) = a(12) = a(14) = 4.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Rémy Sigrist, Feb 13 2021
STATUS
approved