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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070474 n^3 mod 12. 3
0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3, 4, 5, 0, 7, 8, 9, 4, 11, 0, 1, 8, 3 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

FORMULA

a(n)=a(n-12). G.f.: -x*(1+8*x+3*x^2+4*x^3+5*x^4+7*x^6+8*x^7+9*x^8+4*x^9+11*x^10)/((x-1)*(1+x+x ^2)*(1+x)*(1-x+x^2)*(1+x^2)*(x^4-x^2+1)). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 23 2009]

MATHEMATICA

Table[Mod[n^3, 12], {n, 0, 200}] (* From Vladimir Joseph Stephan Orlovsky, Apr 23 2011 *)

PROG

(Sage) [power_mod(n, 7, 12)for n in xrange(0, 100)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Oct 28 2009]

CROSSREFS

Cf. A167176.

Sequence in context: A021849 A201754 * A070597 A091895 A111436 A014549

Adjacent sequences:  A070471 A070472 A070473 * A070475 A070476 A070477

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), May 12 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 23:53 EST 2012. Contains 205860 sequences.