Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A071782
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A071782 Sum of distinct squares in Z_n (mod n). +0
1
0, 1, 1, 1, 0, 2, 0, 5, 3, 5, 0, 2, 0, 0, 0, 14, 0, 6, 0, 15, 7, 0, 0, 18, 0, 13, 18, 0, 0, 0, 0, 8, 0, 17, 0, 24, 0, 0, 13, 15, 0, 14, 0, 22, 0, 0, 0, 28, 0, 25, 0, 39, 0, 9, 0, 28, 19, 29, 0, 30, 0, 0, 21, 32, 0, 0, 0, 17, 0, 0, 0, 36, 0, 37, 50, 38, 0, 26, 0, 10 (list; graph; listen)
OFFSET

1,6

COMMENT

a(n)=0 for prime n>3. - T. D. Noe (noe(AT)sspectra.com), Sep 06 2005

MATHEMATICA

a[n_] := Mod[Apply[Plus, Union[Table[Mod[i^2, n], {i, 1, n}]]], n]

CROSSREFS

Sequence in context: A077453 A021491 A121705 this_sequence A107363 A154954 A095245

Adjacent sequences: A071779 A071780 A071781 this_sequence A071783 A071784 A071785

KEYWORD

nonn

AUTHOR

Santi Spadaro (spados(AT)katamail.com), Jun 24 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 8 08:31 EST 2009. Contains 170430 sequences.


AT&T Labs Research