login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A046071 Triangle of nonzero quadratic residues mod n. 6
1, 1, 1, 1, 4, 1, 3, 4, 1, 2, 4, 1, 4, 1, 4, 7, 1, 4, 5, 6, 9, 1, 3, 4, 5, 9, 1, 4, 9, 1, 3, 4, 9, 10, 12, 1, 2, 4, 7, 8, 9, 11, 1, 4, 6, 9, 10, 1, 4, 9, 1, 2, 4, 8, 9, 13, 15, 16, 1, 4, 7, 9, 10, 13, 16, 1, 4, 5, 6, 7, 9, 11, 16, 17, 1, 4, 5, 9, 16, 1, 4, 7, 9, 15, 16, 18, 1, 3, 4, 5, 9, 11, 12 (list; graph; refs; listen; history; internal format)
OFFSET

2,5

COMMENTS

Rows start with 1's.

LINKS

T. D. Noe, Rows n = 1..100, flattened

Eric Weisstein's World of Mathematics, Quadratic Residue.

PROG

(PARI) residue(n, m)={local(r); r=0; for(i=0, floor(m/2), if(i^2%m==n, r=1)); r} [From Michael B. Porter (michael_b_porter(AT)yahoo.com), May 03 2010]

CROSSREFS

Cf. A096008 (including zeros), A105612 (row lengths), A063987.

Sequence in context: A177951 A061903 A084118 * A078147 A058303 A090724

Adjacent sequences:  A046068 A046069 A046070 * A046072 A046073 A046074

KEYWORD

easy,nonn,tabf

AUTHOR

Eric Weisstein (eric(AT)weisstein.com)

EXTENSIONS

Edited by Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Nov 07 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 00:09 EST 2012. Contains 205978 sequences.