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.

A070485 a(n) = n^3 mod 23.

This page as a plain text file.
%I A070485 #23 Dec 18 2023 14:51:01
%S A070485 0,1,8,4,18,10,9,21,6,16,11,20,3,12,7,17,2,14,13,5,19,15,22,0,1,8,4,
%T A070485 18,10,9,21,6,16,11,20,3,12,7,17,2,14,13,5,19,15,22,0,1,8,4,18,10,9,
%U A070485 21,6,16,11,20,3,12,7,17,2,14,13,5,19,15,22,0,1,8,4,18,10,9,21,6,16,11,20,3
%N A070485 a(n) = n^3 mod 23.
%H A070485 G. C. Greubel, <a href="/A070485/b070485.txt">Table of n, a(n) for n = 0..1000</a>
%H A070485 <a href="/index/Rec#order_23">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, 1).
%F A070485 From _G. C. Greubel_, Mar 28 2016: (Start)
%F A070485 a(n) = a(n-23).
%F A070485 G.f.: (-x -8*x^2 -4*x^3 -18*x^4 -10*x^5 -9*x^6 -21*x^7 -6*x^8 -16*x^9 -11* x^10 -20*x^11 -3*x^12 -12*x^13 -7*x^14 -17*x^15 -2*x^16 -14*x^17 -13*x^18 -5*x^19 -19*x^20 -15*x^21 -22*x^22)/(-1 + x^23). (End)
%t A070485 Table[Mod[n^3, 23], {n, 0, 100}] (* _Vincenzo Librandi_, Jun 19 2014 *)
%t A070485 PowerMod[Range[0, 90], 3, 23] (* _G. C. Greubel_, Mar 28 2016 *)
%o A070485 (Sage) [power_mod(n,3,23 )for n in range(0, 82)] #_Zerinvary Lajos_, Oct 29 2009
%o A070485 (Magma) [n^3 mod 23: n in [0..80]]; // _Vincenzo Librandi_, Jun 19 2014
%o A070485 (PARI) a(n)=n^3%23 \\ _Charles R Greathouse IV_, Apr 06 2016
%Y A070485 Cf. A008960.
%K A070485 nonn,easy
%O A070485 0,3
%A A070485 _N. J. A. Sloane_, May 12 2002