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.

A070338 a(n) = 2^n mod 33.

Original entry on oeis.org

1, 2, 4, 8, 16, 32, 31, 29, 25, 17, 1, 2, 4, 8, 16, 32, 31, 29, 25, 17, 1, 2, 4, 8, 16, 32, 31, 29, 25, 17, 1, 2, 4, 8, 16, 32, 31, 29, 25, 17, 1, 2, 4, 8, 16, 32, 31, 29, 25, 17, 1, 2, 4, 8, 16, 32, 31, 29, 25, 17, 1, 2, 4, 8, 16, 32, 31, 29, 25, 17, 1, 2, 4, 8
Offset: 0

Views

Author

N. J. A. Sloane, May 12 2002

Keywords

Comments

The sequence has a cycle of length 10, which is the maximum possible length for a sequence of powers mod 33. - Alonso del Arte, Jan 12 2013

Programs

Formula

From G. C. Greubel, Mar 13 2016: (Start)
a(n) = a(n-10).
a(n) = a(n-1) - a(n-5) + a(n-6). (End)