Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A070486
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A070486 a(n) = n^3 mod 24 (or equivalently, n^5 mod 24). +0
2
0, 1, 8, 3, 16, 5, 0, 7, 8, 9, 16, 11, 0, 13, 8, 15, 16, 17, 0, 19, 8, 21, 16, 23, 0, 1, 8, 3, 16, 5, 0, 7, 8, 9, 16, 11, 0, 13, 8, 15, 16, 17, 0, 19, 8, 21, 16, 23, 0, 1, 8, 3, 16, 5, 0, 7, 8, 9, 16, 11, 0, 13, 8, 15, 16, 17, 0, 19, 8, 21, 16, 23, 0, 1, 8, 3, 16, 5, 0, 7, 8, 9, 16, 11, 0, 13 (list; graph; listen)
OFFSET

0,3

COMMENT

Equivalently, n^7 mod 24. [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Oct 29 2009]

PROGRAM

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

CROSSREFS

Sequence in context: A069200 A069218 A070608 this_sequence A144433 A037206 A065530

Adjacent sequences: A070483 A070484 A070485 this_sequence A070487 A070488 A070489

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 7 08:40 EST 2009. Contains 170430 sequences.


AT&T Labs Research