login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A283893 Relative of Hofstadter Q-sequence: a(1) = 3, a(2) = 2; thereafter a(n) = a(n-a(n-1)) + a(n-a(n-2)). 5
3, 2, 3, 5, 2, 8, 2, 8, 5, 4, 10, 10, 6, 13, 7, 8, 9, 9, 8, 20, 9, 8, 20, 13, 12, 19, 15, 11, 22, 16, 12, 28, 11, 28, 15, 17, 28, 13, 29, 25, 18, 22, 21, 28, 22, 22, 24, 32, 21, 31, 36, 17, 26, 39, 30, 28, 37, 25, 36, 28, 23, 57, 33, 14, 64, 19, 35, 32, 56, 26, 29, 43, 44, 28, 36 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

In calculating terms of this sequence, use the convention that a(n)=0 for n<=0.

Much like the Hofstadter Q-sequence A005185, it is not known if this sequence is defined for all positive n.

Empirically, this sequence appears to grow approximately like n/2 with a lot of noise.

LINKS

Nathan Fox, Table of n, a(n) for n = 1..10000

MAPLE

A283893:=proc(n) option remember: if n <= 0 then 0: elif n = 1 then 3: elif n = 2 then 2: else A283893(n-A283893(n-1)) + A283893(n-A283893(n-2)): fi: end:

CROSSREFS

Cf. A005185, A278066, A278067, A278068, A283894, A283895, A283896, A283897.

Sequence in context: A029618 A264399 A240225 * A112427 A098229 A128151

Adjacent sequences:  A283890 A283891 A283892 * A283894 A283895 A283896

KEYWORD

nonn

AUTHOR

Nathan Fox, Mar 19 2017

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 28 10:02 EST 2020. Contains 331319 sequences. (Running on oeis4.)