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 A070367 #36 Apr 25 2024 09:25:52 %S A070367 1,5,3,4,9,1,5,3,4,9,1,5,3,4,9,1,5,3,4,9,1,5,3,4,9,1,5,3,4,9,1,5,3,4, %T A070367 9,1,5,3,4,9,1,5,3,4,9,1,5,3,4,9,1,5,3,4,9,1,5,3,4,9,1,5,3,4,9,1,5,3, %U A070367 4,9,1,5,3,4,9,1,5,3,4,9,1,5,3,4,9,1,5,3,4,9,1,5,3,4,9,1,5,3,4,9,1 %N A070367 a(n) = 5^n mod 11. %C A070367 Period 5: repeat [1, 5, 3, 4, 9]. %H A070367 G. C. Greubel, <a href="/A070367/b070367.txt">Table of n, a(n) for n = 0..1000</a> %H A070367 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,1). %F A070367 From _R. J. Mathar_, Apr 20 2010: (Start) %F A070367 a(n) = a(n-5). %F A070367 G.f.: ( -1-5*x-3*x^2-4*x^3-9*x^4 ) / ( (x-1)*(1+x+x^2+x^3+x^4) ). (End) %t A070367 Table[Mod[5^n, 11], {n, 0, 100}] (* _G. C. Greubel_, Mar 05 2016 *) %o A070367 (Sage) [power_mod(5,n,11)for n in range(0,101)] # _Zerinvary Lajos_, Nov 25 2009 %o A070367 (Magma) &cat[[1,5,3,4,9]^^20]; // _Vincenzo Librandi_, Mar 06 2016 %o A070367 (PARI) a(n)=lift(Mod(5,11)^n) \\ _Charles R Greathouse IV_, Mar 22 2016 %Y A070367 Cf. A000351. %K A070367 nonn,easy %O A070367 0,2 %A A070367 _N. J. A. Sloane_, May 12 2002