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.

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

Original entry on oeis.org

3, 4, 5, 12, 13, 84, 85, 3612, 3613, 6526884, 6526885, 21300113901612, 21300113901613, 226847426110843688722000884, 226847426110843688722000885, 25729877366557343481074291996721923093306518970391612, 25729877366557343481074291996721923093306518970391613
Offset: 1

Views

Author

Zak Seidov, Oct 21 2002

Keywords

Comments

{3, 4, 5}, {5, 12, 13}, {13, 84, 85}... are sides {a

Programs

  • Mathematica
    Transpose[NestList[{#[[1]]+1,If[EvenQ[#[[1]]+1],(#[[2]]^2-1)/2,#[[2]]+1]}&,{1,3},20]][[2]] (* Harvey P. Dale, May 02 2012 *)

Extensions

More terms from Harvey P. Dale, May 02 2012