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.

A070451 a(n) = n^2 mod 29.

Original entry on oeis.org

0, 1, 4, 9, 16, 25, 7, 20, 6, 23, 13, 5, 28, 24, 22, 22, 24, 28, 5, 13, 23, 6, 20, 7, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 7, 20, 6, 23, 13, 5, 28, 24, 22, 22, 24, 28, 5, 13, 23, 6, 20, 7, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 7, 20, 6, 23, 13, 5, 28, 24, 22, 22, 24, 28, 5, 13, 23, 6, 20
Offset: 0

Views

Author

N. J. A. Sloane, May 12 2002

Keywords

Comments

Periodic with period length 29. - Ray Chandler, Dec 18 2023

Examples

			5^2 = 25 == 25 (mod 29), so a(5) = 25.
6^2 = 36 ==  7 (mod 29), so a(6) =  7.
7^2 = 49 == 20 (mod 29), so a(7) = 20.
		

Crossrefs

Cf. A070451.

Programs

Formula

a(n) = a(n-29). - G. C. Greubel, Mar 24 2016

Extensions

Incorrect g.f. removed by Georg Fischer, May 15 2019