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!)
A278059 Relative of Hofstadter Q-sequence: a(n) = n for 1 <= n <= 7; a(n) = a(n-a(n-1)) + a(n-a(n-2)) for n > 7. 18
1, 2, 3, 4, 5, 6, 7, 3, 8, 9, 5, 10, 6, 7, 11, 13, 10, 8, 13, 17, 7, 16, 20, 7, 13, 19, 10, 16, 19, 12, 23, 25, 12, 24, 25, 15, 26, 30, 14, 28, 16, 26, 20, 15, 25, 30, 26, 24, 33, 29, 24, 36, 29, 21, 43, 31, 26, 35, 19, 29, 51, 17, 40, 33, 38, 28 (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 < 8, n, a[n-a[n-1]] + a[n-a[n-2]]];
Array[a, 100] (* Paolo Xausa, May 29 2024 *)
CROSSREFS
Sequence in context: A279648 A066323 A245347 * A329606 A115871 A366383
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 September 7 08:00 EDT 2024. Contains 375729 sequences. (Running on oeis4.)