login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070517 a(n) = n^4 mod 13. 0
0, 1, 3, 3, 9, 1, 9, 9, 1, 9, 3, 3, 1, 0, 1, 3, 3, 9, 1, 9, 9, 1, 9, 3, 3, 1, 0, 1, 3, 3, 9, 1, 9, 9, 1, 9, 3, 3, 1, 0, 1, 3, 3, 9, 1, 9, 9, 1, 9, 3, 3, 1, 0, 1, 3, 3, 9, 1, 9, 9, 1, 9, 3, 3, 1, 0, 1, 3, 3, 9, 1, 9, 9, 1, 9, 3, 3, 1, 0, 1, 3, 3, 9, 1, 9, 9, 1, 9, 3, 3, 1, 0, 1, 3, 3, 9, 1, 9, 9, 1, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Equivalently: n^(12*m + 4) mod 13. - G. C. Greubel, Apr 01 2016
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
FORMULA
From G. C. Greubel, Apr 01 2016: (Start)
a(n+13) = a(n).
a(13*m) = 0.
G.f.: (x +3*x^2 +3*x^3 +9*x^4 +x^5 +9*x^6 +9*x^7 +x^8 +9*x^9 +3*x^10 +3*x^11 +x^12)/(1 - x^13). (End)
MATHEMATICA
PowerMod[Range[0, 100], 4, 13] (* G. C. Greubel, Apr 01 2016 *)
PROG
(Sage) [power_mod(n, 4, 13)for n in range(0, 101)] # Zerinvary Lajos, Oct 31 2009
(Magma) [Modexp(n, 4, 13): n in [0..100]]; // Vincenzo Librandi, Apr 02 2016 - after Bruno Berselli in A070403.
(PARI) a(n)=n^4%13 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A010610 A140059 A324895 * A290408 A028232 A225359
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)