The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A070489 a(n) = n^3 mod 27. 2
 0, 1, 8, 0, 10, 17, 0, 19, 26, 0, 1, 8, 0, 10, 17, 0, 19, 26, 0, 1, 8, 0, 10, 17, 0, 19, 26, 0, 1, 8, 0, 10, 17, 0, 19, 26, 0, 1, 8, 0, 10, 17, 0, 19, 26, 0, 1, 8, 0, 10, 17, 0, 19, 26, 0, 1, 8, 0, 10, 17, 0, 19, 26, 0, 1, 8, 0, 10, 17, 0, 19, 26, 0, 1, 8, 0, 10, 17, 0, 19, 26, 0, 1, 8, 0, 10 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS G. C. Greubel, Table of n, a(n) for n = 0..1000 FORMULA a(3*k) = 0. - Altug Alkan, Oct 03 2015 a(n) = a(n+9). - Altug Alkan, Oct 03 2015 G.f.: (-x -8*x^2 -10*x^4 -17*x^5 -19*x^7 -26*x^8)/(-1 + x^9). - G. C. Greubel, Mar 30 2016 MATHEMATICA Table[PowerMod[n, 3, 27], {n, 0, 100}] (* Vincenzo Librandi, Oct 03 2015 *) PROG (Sage) [power_mod(n, 3, 27 ) for n in range(0, 86)] # Zerinvary Lajos, Oct 30 2009 (PARI) vector(100, n, (n-1)^3 % 27); \\ Altug Alkan, Oct 03 2015 CROSSREFS Cf. A000578, A070490. Sequence in context: A320378 A228412 A260947 * A112268 A077062 A189764 Adjacent sequences:  A070486 A070487 A070488 * A070490 A070491 A070492 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 September 22 00:42 EDT 2020. Contains 337276 sequences. (Running on oeis4.)