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 A070439 #37 Dec 27 2023 08:37:49 %S A070439 0,1,4,9,0,9,4,1,0,1,4,9,0,9,4,1,0,1,4,9,0,9,4,1,0,1,4,9,0,9,4,1,0,1, %T A070439 4,9,0,9,4,1,0,1,4,9,0,9,4,1,0,1,4,9,0,9,4,1,0,1,4,9,0,9,4,1,0,1,4,9, %U A070439 0,9,4,1,0,1,4,9,0,9,4,1,0,1,4,9,0,9,4,1,0,1,4,9,0,9,4,1,0,1,4,9,0 %N A070439 a(n) = n^2 mod 16. %H A070439 G. C. Greubel, <a href="/A070439/b070439.txt">Table of n, a(n) for n = 0..1000</a> %H A070439 <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,0,0,0,1). %F A070439 G.f.: -x*(1+4*x+9*x^2+9*x^4+4*x^5+x^6) / ( (x-1)*(1+x)*(x^2+1)*(x^4+1) ). - _R. J. Mathar_, Jul 27 2015 %F A070439 a(n) = a(n-8). - _G. C. Greubel_, Mar 24 2016 %F A070439 a(n) = A130909(n^2). - _Michel Marcus_, Mar 24 2016 %t A070439 Table[Mod[n^2,16],{n,0,200}] (* _Vladimir Joseph Stephan Orlovsky_, Apr 23 2011 *) %t A070439 CoefficientList[Series[(x + 4 x^2 + 9 x^3 + 9 x^5 + 4 x^6 + x^7) / (1 - x^8), {x, 0, 100}], x] (* _Vincenzo Librandi_, Mar 25 2016 *) %t A070439 PowerMod[Range[0,100],2,16] (* _Harvey P. Dale_, Jul 23 2023 *) %o A070439 (Magma) [Modexp(n, 2, 16 ): n in [0..100]]; // _Vincenzo Librandi_, Mar 28 2016 %o A070439 (PARI) a(n)=n^2%16 \\ _Charles R Greathouse IV_, Apr 06 2016 %Y A070439 Cf. A054580, A130909. %K A070439 nonn,easy %O A070439 0,3 %A A070439 _N. J. A. Sloane_, May 12 2002