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.

A070425 a(n) = 7^n mod 43.

Original entry on oeis.org

1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36, 37, 1, 7, 6, 42, 36
Offset: 0

Views

Author

N. J. A. Sloane, May 12 2002

Keywords

Comments

Sequence is periodic with length 6. Since a(21) = 42 (or -1), 43 is prime in Z[sqrt(7)]. - Alonso del Arte, Oct 12 2012

Programs

Formula

From R. J. Mathar, Apr 20 2010: (Start)
a(n) = a(n - 1) - a(n - 3) + a(n - 4).
G..f: ( -1 - 6*x + x^2 - 37*x^3 ) / ( (x - 1)*(1 + x)*(x^2 - x + 1) ). (End)
a(n) = a(n-6). - G. C. Greubel, Mar 22 2016