Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078332
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078332 First prime such that p^2 == -1 (mod n), or 0 if no such prime exists. +0
1
2, 3, 0, 0, 2, 0, 0, 0, 0, 3, 0, 0, 5, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 7, 5, 0, 0, 17, 0, 0, 0, 0, 13, 0, 0, 31, 0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 23, 0, 0, 0, 0, 17, 0, 0, 11, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 173, 31, 0, 0, 0, 0, 0, 0, 0, 73, 0, 0, 13, 0, 0, 0, 233, 0, 0, 0, 0, 0, 0 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(2)=3 as 3^2 == -1 (mod 2).

PROGRAM

(PARI) for (n=1, 100, f=true; forprime(p=2, 1000, if (p^2%n==(n-1), print1(p", "); f=false; break)); if (f==true, print1(0", ")))

CROSSREFS

Sequence in context: A024466 A021817 A069585 this_sequence A097109 A011023 A097027

Adjacent sequences: A078329 A078330 A078331 this_sequence A078333 A078334 A078335

KEYWORD

nonn

AUTHOR

Jon Perry (perry(AT)globalnet.co.uk), Nov 21 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 3 01:16 EST 2008. Contains 151161 sequences.


AT&T Labs Research