Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A066340
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A066340 Fermat's triangle: T(n,m) = Mod[m^EulerPhi[n],n]; n >= 2; 1 <= m <= n-1. +0
1
1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 4, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 6, 1, 6, 5, 6, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 9, 4, 1, 0, 1, 4, 9, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 1, 8, 1, 8, 7, 8, 1, 8, 1, 8, 1, 1, 1, 6, 1, 10, 6, 1, 1, 6, 10, 1, 6, 1 (list; table; graph; listen)
OFFSET

2,12

COMMENT

Fermat's little theorem states that T(n,m)=1 for all m relatively prime to n.

EXAMPLE

Triangle begins {1}, {1, 1}, {1, 0, 1}, {1, 1, 1, 1}, {1, 4, 3, 4, 1}, ...

MATHEMATICA

Table[PowerMod[ #, EulerPhi[n], n]&/@ Range[n-1], {n, 2, 32} ]

CROSSREFS

Sequence in context: A048156 A070431 A070511 this_sequence A082125 A058290 A002285

Adjacent sequences: A066337 A066338 A066339 this_sequence A066341 A066342 A066343

KEYWORD

easy,nonn,tabl

AUTHOR

Wouter Meeussen (wouter.meeussen(AT)pandora.be), Jan 01 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 September 5 01:44 EDT 2008. Contains 143476 sequences.


AT&T Labs Research