Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A082817
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A082817 Triangle (with distinct entries) read by rows in which row n contains n numbers whose product == -1 (mod n). +0
6
1, 3, 5, 2, 4, 7, 9, 11, 13, 17, 6, 8, 12, 14, 16, 19, 23, 25, 29, 31, 35, 10, 15, 18, 20, 22, 24, 36, 21, 27, 33, 37, 39, 41, 43, 49, 26, 28, 32, 34, 38, 40, 44, 46, 53, 47, 51, 57, 59, 61, 63, 67, 69, 71, 81, 30, 42, 45, 48, 50, 52, 54, 56, 58, 60, 65, 55, 73, 77, 79, 83, 85 (list; table; graph; listen)
OFFSET

1,2

COMMENT

Obviously all members of the n-th group are coprime to n.

EXAMPLE

1

3 5

2 4 7

9 11 13 17

6 8 12 14 16

...

PROGRAM

(PARI) used = vector(1000); print(1); for (n = 2, 15, rowProd = 1; x = 2; for (k = 1, n - 1, while (used[x] || gcd(x, n) > 1, x = x + 1); print1(x); print1(" "); used[x] = 1; rowProd = rowProd*x; x = x + 1); while (used[x] || rowProd*x%n != n - 1, x = x + 1); print(x); used[x] = 1);

CROSSREFS

Cf. A082818, A082819, A082820, A082821.

Adjacent sequences: A082814 A082815 A082816 this_sequence A082818 A082819 A082820

Sequence in context: A131793 A065186 A081964 this_sequence A084753 A082822 A109313

KEYWORD

nonn,tabl

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Apr 22 2003

EXTENSIONS

More terms from David Wasserman (wasserma(AT)spawar.navy.mil), Oct 05 2004

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 October 13 09:05 EDT 2008. Contains 145008 sequences.


AT&T Labs Research