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!)
A240834 Sequence R(n) arising from analysis of structure of A046702. 3
0, 1, 2, 3, 2, 3, 4, 3, 4, 3, 6, 5, 6, 5, 6, 7, 6, 7, 6, 9, 6, 9, 6, 11, 8, 11, 8, 11, 10, 13, 10, 13, 10, 15, 12, 15, 12, 15, 14, 15, 14, 15, 16, 15, 16, 15, 18, 15, 18, 15, 20, 15, 20, 15, 22, 15, 22, 15, 24, 17, 24, 17, 24, 19, 26, 19, 26, 19, 28, 21, 28, 21, 28, 23, 30, 23, 30, 23, 32, 23, 32, 23, 34, 25, 34, 25, 34 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

REFERENCES

Callaghan, Joseph, John J. Chew III, and Stephen M. Tanny. "On the behavior of a family of meta-Fibonacci sequences." SIAM Journal on Discrete Mathematics 18.4 (2005): 794-824. See Eq. (3.1) and Table 3.1.

LINKS

Table of n, a(n) for n=1..87.

Index entries for Hofstadter-type sequences

MAPLE

#T_s, k(n) from Callaghan et al. Eq. (3.1).

s:=0; k:=3;

T:=proc(n) option remember; global R, U, s, k; # A046702

if n <= s+k then 1

else

add(U(n-i), i=0..k-1);

fi; end;

U:=proc(n) option remember; global R, T, s, k; # A240833

T(R(n)); end;

R:=proc(n) option remember; global U, T, s, k; # A240834

n-s-T(n-1); end;

t1:=[seq(R(n), n=1..100)];

CROSSREFS

Cf. A046702, A240833.

Sequence in context: A123182 A069464 A156723 * A256993 A173523 A199323

Adjacent sequences:  A240831 A240832 A240833 * A240835 A240836 A240837

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Apr 16 2014

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 July 27 15:47 EDT 2021. Contains 346307 sequences. (Running on oeis4.)