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!)
A070662 a(n) = n^6 mod 39. 0
0, 1, 25, 27, 1, 25, 12, 25, 25, 27, 1, 25, 27, 13, 1, 12, 1, 1, 12, 25, 25, 12, 1, 1, 12, 1, 13, 27, 25, 1, 27, 25, 25, 12, 25, 1, 27, 25, 1, 0, 1, 25, 27, 1, 25, 12, 25, 25, 27, 1, 25, 27, 13, 1, 12, 1, 1, 12, 25, 25, 12, 1, 1, 12, 1, 13, 27, 25, 1, 27, 25, 25, 12, 25, 1, 27, 25 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, 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, 0, 0, 1).
FORMULA
a(n) = a(n-39). - Wesley Ivan Hurt, Dec 26 2023
MATHEMATICA
PowerMod[Range[0, 80], 6, 39] (* or *) PadRight[{}, 120, {0, 1, 25, 27, 1, 25, 12, 25, 25, 27, 1, 25, 27, 13, 1, 12, 1, 1, 12, 25, 25, 12, 1, 1, 12, 1, 13, 27, 25, 1, 27, 25, 25, 12, 25, 1, 27, 25, 1}] (* Harvey P. Dale, Aug 28 2016 *)
PROG
(Sage) [power_mod(n, 6, 39)for n in range(0, 77)] # Zerinvary Lajos, Nov 07 2009
(PARI) a(n)=n^6%39 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A042297 A042298 A157091 * A350181 A183982 A287763
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 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)