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.

A328011 The 5x + 1 sequence beginning at 1.

Original entry on oeis.org

1, 6, 3, 16, 8, 4, 2, 1, 6, 3, 16, 8, 4, 2, 1, 6, 3, 16, 8, 4, 2, 1, 6, 3, 16, 8, 4, 2, 1, 6, 3, 16, 8, 4, 2, 1, 6, 3, 16, 8, 4, 2, 1, 6, 3, 16, 8, 4, 2, 1, 6, 3, 16, 8, 4, 2, 1, 6, 3, 16, 8, 4, 2, 1, 6, 3, 16, 8, 4, 2, 1, 6, 3, 16, 8, 4, 2, 1, 6, 3, 16, 8, 4, 2, 1
Offset: 0

Views

Author

Antoine Beaulieu, Oct 01 2019

Keywords

Comments

See A328010 for further information.

Crossrefs

Programs

  • PARI
    Vec((1 + 6*x + 3*x^2 + 16*x^3 + 8*x^4 + 4*x^5 + 2*x^6) / ((1 - x)*(1 + x + x^2 + x^3 + x^4 + x^5 + x^6)) + O(x^80)) \\ Colin Barker, Oct 08 2019

Formula

a(n+1) = 5*a(n) + 1 if a(n) is odd, a(n+1) = a(n)/2 otherwise.
From Colin Barker, Oct 08 2019: (Start)
G.f.: (1 + 6*x + 3*x^2 + 16*x^3 + 8*x^4 + 4*x^5 + 2*x^6) / ((1 - x)*(1 + x + x^2 + x^3 + x^4 + x^5 + x^6)).
a(n) = a(n-7) for n>6.
(End)