login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070662 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

Table of n, a(n) for n=0..76.

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 xrange(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 * A183982 A287763 A239523

Adjacent sequences:  A070659 A070660 A070661 * A070663 A070664 A070665

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 21 07:08 EDT 2019. Contains 327253 sequences. (Running on oeis4.)