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!)
A240831 Sequence U(n) arising from analysis of structure of A240830. 3

%I

%S 1,1,1,1,1,1,1,1,1,1,1,1,1,7,1,1,1,1,1,7,1,7,1,1,1,7,1,7,1,7,1,7,1,7,

%T 1,7,1,7,7,7,1,7,1,7,7,7,7,7,1,7,7,7,7,7,7,7,7,7,7,7,7,7,13,7,7,7,7,7,

%U 13,7,13,7,7,7,13,7,13,7,13,7,13,7,13,7,13,7,19,7,13,7,13,7,19,7,19,7,13,7,19

%N Sequence U(n) arising from analysis of structure of A240830.

%D 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. (2.2) and Table 2.2.

%H <a href="/index/Ho#Hofstadter">Index entries for Hofstadter-type sequences</a>

%p #T_s,k(n) from Callaghan et al. Eq. (2.2).

%p s:=0; k:=7;

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

%p if n <= s+k then 1

%p else

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

%p fi; end;

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

%p T(R(n)); end;

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

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

%p t1:=[seq(U(n),n=2..100)];

%Y Cf. A240830, A240832.

%K nonn

%O 2,14

%A _N. J. A. Sloane_, Apr 16 2014

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 August 4 09:36 EDT 2021. Contains 346446 sequences. (Running on oeis4.)