This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A235140 Numerator(m*Bernoulli(m-1)+1) (mod m), for m = 1, 3, 5, 7, 9, ... 1
 0, 0, 0, 0, 7, 0, 0, 7, 0, 0, 12, 0, 16, 11, 0, 0, 16, 6, 0, 15, 0, 0, 22, 0, 8, 5, 0, 28, 24, 0, 0, 23, 11, 0, 56, 0, 0, 27, 30, 0, 71, 0, 63, 31, 0, 69, 36, 6, 0, 35, 0, 0, 50, 0, 0, 99, 0, 42, 44, 6, 72, 43, 106, 0, 84, 0, 1, 47, 0, 0, 91, 6, 36, 51, 0, 0, 112, 138, 0, 55, 102, 0, 78, 0, 115, 136, 0, 79, 67, 0, 0, 63, 23, 42, 136, 0, 0, 67, 0, 0, 111 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,5 COMMENTS a(n) = numerator((2*n+1)*Bernoulli(2*n)+1) (mod 2*n+1), for n = 0, 1, 2, 3, ... The Agoh-Giuga Conjecture is that a(n)=0 iff 2*n+1 is 1 or a prime. LINKS MathWorld, Giuga's Conjecture Wikipedia, Agoh-Giuga conjecture FORMULA a(n) = 0 iff A235363(n) = 0. MATHEMATICA Table[ Mod[ Numerator[ n*BernoulliB[n - 1] + 1], n], {n, 1, 201, 2}] CROSSREFS Cf. A007850, A046094, A204187, A228037, A235363. Sequence in context: A019933 A132712 A021592 * A249119 A154102 A240984 Adjacent sequences:  A235137 A235138 A235139 * A235141 A235142 A235143 KEYWORD nonn AUTHOR Jonathan Sondow, Jan 07 2014 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified July 17 23:21 EDT 2019. Contains 325109 sequences. (Running on oeis4.)