Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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!)
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]]];
Array[a, 100] (* Paolo Xausa, May 31 2024 *)
CROSSREFS
Similar sequences based on the Q-recurrence: A278056, A278057, A278058, A278059, A278060, A278061, A278062, A278063, A278064, A278065.
Sequence in context: A081597 A351578 A328469 * A347105 A245351 A028902
KEYWORD
nonn
AUTHOR
Nathan Fox, May 28 2024
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 18 16:26 EDT 2024. Contains 375269 sequences. (Running on oeis4.)