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!)
A087721 Strictly increasing domain of A005185. 0

%I #18 Dec 05 2022 08:35:28

%S 2,3,4,5,6,8,10,11,12,16,20,21,22,23,24,25,30,32,38,39,40,41,42,43,44,

%T 45,46,47,48,52,54,56,58,60,61,62,64,66,68,71,72,73,77,78,79,80,82,83,

%U 85,87,88,90,91,92,93,94,96,101,106,108,109,111,114,115,118,120,122,123

%N Strictly increasing domain of A005185.

%t digits=750;

%t Hofstadter[n_Integer?Positive] := Hofstadter[n] = Hofstadter[n - Hofstadter[n-1]] + Hofstadter[n - Hofstadter[n-2]];

%t Hofstadter[1] = Hofstadter[2] = 1;

%t a1=Table[Hofstadter[n], {n, digits}];

%t f[x_, y_] := x-y/; x-y>0;

%t f[x_, y_] := 0/; x-y<=0;

%t b=Table[If[f[a1[[n]], a1[[n-1]]]>0, a1[[n]], 0], {n, 2, digits}];

%t c=Delete[Union[b], 1]

%Y Cf. A005185, A087722, A087723.

%K nonn

%O 1,1

%A _Roger L. Bagula_, Sep 29 2003

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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)