The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
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
FORMULA
a(n) = 0 iff A235363(n) = 0.
MATHEMATICA
Table[ Mod[ Numerator[ n*BernoulliB[n - 1] + 1], n], {n, 1, 201, 2}]
CROSSREFS
Sequence in context: A067840 A132712 A021592 * A249119 A154102 A344785
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 05:56 EDT 2024. Contains 372549 sequences. (Running on oeis4.)