Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A070472
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A070472 n^3 mod 7. +0
3
0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1, 6, 1, 6, 6, 0, 1, 1 (list; graph; listen)
OFFSET

0,4

FORMULA

Periodic with period 7.

a(n)=1/7*{7*(n mod 7)+[(n+1) mod 7]-4*[(n+2) mod 7]+6*[(n+3) mod 7]-4*[(n+4) mod 7]+[(n+5) mod 7]} with n>=0 - Paolo P. Lava (ppl(AT)spl.at), Nov 27 2006

PROGRAM

(Other) sage: [power_mod(n, 3, 7 )for n in xrange(0, 101)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Oct 29 2009]

CROSSREFS

Sequence in context: A010492 A144544 A070514 this_sequence A151784 A093563 A081775

Adjacent sequences: A070469 A070470 A070471 this_sequence A070473 A070474 A070475

KEYWORD

nonn

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 21 10:15 EST 2009. Contains 171081 sequences.


AT&T Labs Research