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!)
A070496 a(n) = n^3 mod 34. 1
0, 1, 8, 27, 30, 23, 12, 3, 2, 15, 14, 5, 28, 21, 24, 9, 16, 17, 18, 25, 10, 13, 6, 29, 20, 19, 32, 31, 22, 11, 4, 7, 26, 33, 0, 1, 8, 27, 30, 23, 12, 3, 2, 15, 14, 5, 28, 21, 24, 9, 16, 17, 18, 25, 10, 13, 6, 29, 20, 19, 32, 31, 22, 11, 4, 7, 26, 33, 0, 1, 8, 27, 30, 23, 12, 3, 2, 15 (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, 1).
FORMULA
a(n) = a(n-34). - G. C. Greubel, Mar 30 2016
MAPLE
A070496:=n->n^3 mod 34; seq(A070496(n), n=0..100); # Wesley Ivan Hurt, Nov 20 2013
MATHEMATICA
PowerMod[Range[0, 80], 3, 34] (* Harvey P. Dale, Oct 02 2011 *)
PROG
(Sage) [power_mod(n, 3, 34 )for n in range(0, 78)] # Zerinvary Lajos, Oct 30 2009
(PARI) a(n)=n^3%34 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Cf. A070456.
Sequence in context: A358240 A084698 A070497 * A304636 A115169 A070495
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 16:42 EDT 2024. Contains 371989 sequences. (Running on oeis4.)