cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A152836 a(0)=-1; a(n)=n^a(n-1)-a(n-1)^n.

This page as a plain text file.
%I A152836 #9 Jun 06 2022 15:21:50
%S A152836 -1,2,0,1,3,-118
%N A152836 a(0)=-1; a(n)=n^a(n-1)-a(n-1)^n.
%C A152836 Sequence is finite because followup terms are fractions. - _R. J. Mathar_, Jun 19 2021
%t A152836 lst={};a=1;Do[a=n^a-a^n;AppendTo[lst,a],{n,0,5}];lst
%t A152836 nxt[{n_,a_}]:={n+1,(n+1)^a-a^(n+1)}; NestList[nxt,{0,-1},5][[All,2]] (* _Harvey P. Dale_, Jun 06 2022 *)
%Y A152836 Cf. A084964, A152832, A152833, A152835
%K A152836 sign,fini,less
%O A152836 0,2
%A A152836 _Vladimir Joseph Stephan Orlovsky_, Dec 14 2008
%E A152836 Definition corrected by _N. J. A. Sloane_, Jan 11 2009
%E A152836 Offset corrected. _R. J. Mathar_, Jun 19 2021