login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A070466
a(n) = n^2 mod 44.
1
0, 1, 4, 9, 16, 25, 36, 5, 20, 37, 12, 33, 12, 37, 20, 5, 36, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 36, 5, 20, 37, 12, 33, 12, 37, 20, 5, 36, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 36, 5, 20, 37, 12, 33, 12, 37, 20, 5, 36, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 36, 5, 20, 37, 12, 33, 12
OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
FORMULA
a(n) = a(n-22). - G. C. Greubel, Mar 25 2016
MATHEMATICA
PowerMod[Range[0, 100], 2, 44] (* Harvey P. Dale, Jul 05 2012 *)
PROG
(PARI) a(n)=n^2%44 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A070469 A070468 A070467 * A070465 A070464 A070463
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 12 2002
STATUS
approved