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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A046094 Agoh's congruence; a(n) is conjectured to be 1 iff n is prime. 0
0, 1, 1, 0, 1, 0, 1, 0, 3, 0, 1, 0, 1, 0, 5, 0, 1, 0, 1, 0, 0, 0, 1, 0, 5, 0, 9, 0, 1, 0, 1, 0, 11, 0, 0, 0, 1, 0, 13, 0, 1, 0, 1, 0, 24, 0, 1, 0, 7, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 21, 0, 0, 0, 1, 0, 23, 0, 1, 0, 1, 0, 25, 0, 0, 0, 1, 0, 0, 0, 1, 0, 17, 0, 29, 0, 1, 0, 13, 0, 31, 0, 0, 0, 1, 0 (list; graph; refs; listen; history; internal format)
OFFSET

1,9

REFERENCES

Borwein, D.; Borwein, J.M.; Borwein, P.B.; and Girgensohn, R. ``Giuga's Conjecture on Primality.'' Amer. Math. Monthly, 103, 40-50, 1996.

LINKS

Index entries for sequences related to Bernoulli numbers.

Eric Weisstein's World of Mathematics, Agoh's Conjecture

MATHEMATICA

a[ n_ ] := -Mod[ n Bernoulli[ n-1 ], n ]

CROSSREFS

Sequence in context: A129685 A140807 A091959 * A055976 A183700 A093684

Adjacent sequences:  A046091 A046092 A046093 * A046095 A046096 A046097

KEYWORD

nonn

AUTHOR

Eric Weisstein (eric(AT)weisstein.com)

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 14 15:24 EST 2012. Contains 205626 sequences.