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.

A076602 a(1)=7, a(n_even)=(a(n-1)^2-1)/2; a(n_odd)=a(n-1)+1.

Original entry on oeis.org

7, 24, 25, 312, 313, 48984, 48985, 1199765112, 1199765113, 719718163185951384, 719718163185951385, 258997117209879873736794713791709112, 258997117209879873736794713791709113, 33539753361514126736178628392779244498735703225085922505721228803623384
Offset: 1

Views

Author

Zak Seidov, Oct 21 2002

Keywords

Comments

{7, 24, 25}, {25, 312, 313}, {313, 48984, 48985}... are sides {a

Programs

  • Mathematica
    nxt[{a_,b_}]:={a+1,If[OddQ[a],(b^2-1)/2,b+1]}; Transpose[NestList[nxt,{1,7},15]][[2]] (* Harvey P. Dale, Dec 13 2011 *)

Extensions

More terms from Harvey P. Dale, Dec 13 2011