Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

0,3

COMMENT

Equivalently n^6 mod 5. [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 06 2009]

PROGRAM

(Other) 1.)sage: [power_mod(n, 2, 5)for n in xrange(0, 101)] # 2.)sage: [power_mod(n, 6, 5)for n in xrange(0, 101)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 06 2009]

CROSSREFS

Sequence in context: A111848 A102412 A048152 this_sequence A163353 A164612 A057270

Adjacent sequences: A070427 A070428 A070429 this_sequence A070431 A070432 A070433

KEYWORD

nonn,new

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 1 13:27 EST 2009. Contains 167806 sequences.


AT&T Labs Research