This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A070478 a(n) = n^3 mod 16. 1
 0, 1, 8, 11, 0, 13, 8, 7, 0, 9, 8, 3, 0, 5, 8, 15, 0, 1, 8, 11, 0, 13, 8, 7, 0, 9, 8, 3, 0, 5, 8, 15, 0, 1, 8, 11, 0, 13, 8, 7, 0, 9, 8, 3, 0, 5, 8, 15, 0, 1, 8, 11, 0, 13, 8, 7, 0, 9, 8, 3, 0, 5, 8, 15, 0, 1, 8, 11, 0, 13, 8, 7, 0, 9, 8, 3, 0, 5, 8, 15, 0, 1, 8, 11, 0, 13, 8, 7, 0, 9, 8, 3, 0, 5, 8, 15 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 COMMENTS a(4k) = 0, k>=0, k being integer. - G. C. Greubel, Mar 30 2016 LINKS G. C. Greubel, Table of n, a(n) for n = 0..1000 FORMULA From G. C. Greubel, Mar 28 2016: (Start) a(n) = a(n-16). G.f.: (-x -8*x^2 -11*x^3 -13*x^5 -8*x^6 -7*x^7 -9*x^9 -8*x^10 -3*x^11 -5*x^13 -8*x^14 -15*x^15)/(-1 + x^16). (End) MATHEMATICA Table[Mod[n^3, 16], {n, 0, 100}] (* G. C. Greubel, Mar 28 2016 *) PROG (Sage) [power_mod(n, 3, 16) for n in xrange(0, 96)] # Zerinvary Lajos, Oct 28 2009 (MAGMA) [Modexp(n, 3, 16): n in [0..100]]; // Vincenzo Librandi, Mar 28 2016 (PARI) a(n)=n^3%16 \\ Charles R Greathouse IV, Apr 06 2016 CROSSREFS Sequence in context: A002286 A256877 A222299 * A306527 A109596 A164801 Adjacent sequences:  A070475 A070476 A070477 * A070479 A070480 A070481 KEYWORD nonn,easy AUTHOR N. J. A. Sloane, May 12 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.

Last modified April 20 09:59 EDT 2019. Contains 322309 sequences. (Running on oeis4.)