login
A278062
Relative of Hofstadter Q-sequence: a(n) = n for 1 <= n <= 10; a(n) = a(n-a(n-1)) + a(n-a(n-2)) for n > 10.
18
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 3, 11, 12, 5, 13, 6, 7, 14, 16, 10, 8, 16, 20, 12, 17, 14, 22, 11, 21, 25, 16, 13, 17, 15, 24, 19, 26, 27, 23, 19, 30, 31, 23, 20, 33, 26, 13, 40, 28, 26, 37, 27, 20, 37, 38, 30, 38, 21, 35, 40, 22, 35, 41, 41, 24
OFFSET
1,2
COMMENTS
Similar to Hofstadter's Q-sequence A005185 but with different starting values.
Much like the Hofstadter Q-sequence, it is not known if this sequence is defined for all positive n.
a(n) exists for n <= 3*10^7.
LINKS
Nathan Fox, Hofstadter-like Sequences over Nonstandard Integers, Talk given at the Rutgers Experimental Mathematics Seminar, November 10 2016.
MATHEMATICA
a[n_] := a[n] = If[0 < n < 11, n, a[n-a[n-1]] + a[n-a[n-2]]];
Array[a, 100] (* Paolo Xausa, May 30 2024 *)
KEYWORD
nonn
AUTHOR
Nathan Fox, Nov 10 2016
STATUS
approved