login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A278065 Relative of Hofstadter Q-sequence: a(n) = n for 1 <= n <= 13; a(n) = a(n-a(n-1)) + a(n-a(n-2)) for n > 13. 18
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 3, 14, 15, 5, 16, 6, 7, 17, 19, 10, 8, 19, 23, 12, 20, 14, 25, 11, 24, 28, 16, 13, 17, 15, 27, 20, 20, 34, 27, 24, 12, 45, 17, 27, 28, 36, 22, 28, 33, 26, 37, 30, 29, 32, 37, 31, 24, 40, 46, 15, 52, 35 (list; graph; refs; listen; history; text; internal format)
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 < 14, n, a[n-a[n-1]] + a[n-a[n-2]]];
Array[a, 100] (* Paolo Xausa, May 30 2024 *)
CROSSREFS
Sequence in context: A297245 A043273 A268982 * A373233 A291041 A291766
KEYWORD
nonn
AUTHOR
Nathan Fox, Nov 10 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 4 06:40 EDT 2024. Contains 374905 sequences. (Running on oeis4.)