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.

Original entry on oeis.org

-1, 2, 0, 1, 3, -118
Offset: 0

Views

Author

Keywords

Comments

Sequence is finite because followup terms are fractions. - R. J. Mathar, Jun 19 2021

Crossrefs

Programs

  • Mathematica
    lst={};a=1;Do[a=n^a-a^n;AppendTo[lst,a],{n,0,5}];lst
    nxt[{n_,a_}]:={n+1,(n+1)^a-a^(n+1)}; NestList[nxt,{0,-1},5][[All,2]] (* Harvey P. Dale, Jun 06 2022 *)

Extensions

Definition corrected by N. J. A. Sloane, Jan 11 2009
Offset corrected. R. J. Mathar, Jun 19 2021