|
|
A373229
|
|
Relative of Hofstadter Q-sequence: a(n) = n for 1 <= n <= 9; a(n) = a(n-a(n-1)) + a(n-a(n-2)) + a(n-a(n-3)) for n > 9.
|
|
7
|
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 6, 10, 11, 12, 9, 13, 14, 15, 12, 16, 17, 18, 15, 19, 20, 17, 22, 18, 22, 24, 25, 22, 21, 29, 28, 22, 24, 34, 27, 29, 28, 32, 27, 37, 33, 31, 34, 35, 36, 34, 36, 41, 36, 41, 36, 41, 43, 41, 43, 40, 48, 42, 41, 46, 46, 52, 43, 51, 46, 53, 51, 46, 56, 48
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Similar to A278055 but with different starting values.
Much like the Hofstadter Q-sequence A005185, it is not known if this sequence is defined for all positive n.
a(n) exists for n <= 3*10^7.
|
|
LINKS
|
|
|
MATHEMATICA
|
a[n_] := a[n] = If[0 < n < 10, n, a[n-a[n-1]] + a[n-a[n-2]] + a[n-a[n-3]]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|