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!)
A000458 a(0) = a(1) = 1; thereafter a(n) = sigma(a(n-1)) + sigma(a(n-2)). 1

%I #17 Dec 09 2022 13:25:27

%S 1,1,2,4,10,25,49,88,237,500,1412,3570,12846,36072,126504,493920,

%T 2358720,12292224,49984224,171237888,642804078,1980490350,6380883000,

%U 27032104440,117961599600,555861355920,2623445776224

%N a(0) = a(1) = 1; thereafter a(n) = sigma(a(n-1)) + sigma(a(n-2)).

%H T. D. Noe, <a href="/A000458/b000458.txt">Table of n, a(n) for n=0..100</a>

%p A000458 := proc(n) options remember; if n <= 1 then RETURN(1) else sigma(A000458(n-1))+sigma(A000458(n-2)); fi; end;

%t a[0] = a[1] = 1; a[n_] := a[n] = DivisorSigma[1, a[n-1]] + DivisorSigma[1, a[n-2]]; Table[a[n], {n, 0, 30}] (* _Jean-François Alcover_, Feb 08 2016 *)

%t nxt[{a_,b_}]:={b,DivisorSigma[1,a]+DivisorSigma[1,b]}; NestList[nxt,{1,1},30][[All,1]] (* _Harvey P. Dale_, Dec 09 2022 *)

%K nonn

%O 0,3

%A _N. J. A. Sloane_

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 May 4 19:41 EDT 2024. Contains 372257 sequences. (Running on oeis4.)