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.

A076824 Let a(1)=a(2)=1, a(n)=(2^ceiling(a(n-1)/2)+1)/a(n-2).

Original entry on oeis.org

1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3
Offset: 1

Views

Author

Benoit Cloitre, Nov 24 2002

Keywords

Crossrefs

Cf. A076839.

Programs

  • Mathematica
    LinearRecurrence[{0, 0, 0, 0, 1},{1, 1, 3, 5, 3},105] (* Ray Chandler, Aug 25 2015 *)
    nxt[{a_,b_}]:={b,(2^Ceiling[b/2]+1)/a}; NestList[nxt,{1,1},110][[;;,1]] (* or *) PadRight[{},120,{1,1,3,5,3}] (* Harvey P. Dale, Jun 09 2025 *)

Formula

5-periodic with period (1, 1, 3, 5, 3)