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.
%I A070459 #23 Dec 18 2023 12:56:09 %S A070459 0,1,4,9,16,25,36,12,27,7,26,10,33,21,11,3,34,30,28,28,30,34,3,11,21, %T A070459 33,10,26,7,27,12,36,25,16,9,4,1,0,1,4,9,16,25,36,12,27,7,26,10,33,21, %U A070459 11,3,34,30,28,28,30,34,3,11,21,33,10,26,7,27,12,36,25,16,9,4,1,0,1,4 %N A070459 a(n) = n^2 mod 37. %C A070459 This is sequence repeat(0, S, reverse(S)), with S := Sequence(a(n), n = 1..18). [0, ordered(S)] is A010398. - _Wolfdieter Lang_, Jun 24 2019 %H A070459 G. C. Greubel, <a href="/A070459/b070459.txt">Table of n, a(n) for n = 0..1000</a> %H A070459 <a href="/index/Rec#order_37">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1). %F A070459 a(n) = a(n-37). - _G. C. Greubel_, Mar 25 2016 %t A070459 PowerMod[Range[0, 110], 2, 37] (* _Harvey P. Dale_, Aug 22 2015 *) %o A070459 (PARI) a(n)=n^2%37 \\ _Charles R Greathouse IV_, Apr 06 2016 %o A070459 (Scala) (0 to 99).map(n => (n * n) % 37) // _Alonso del Arte_, Jun 24 2019 %Y A070459 Cf. A010398, A070456, A070457. %K A070459 nonn,easy %O A070459 0,3 %A A070459 _N. J. A. Sloane_, May 12 2002