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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A141056 1 followed by A027760, a variant of Bernoulli number denominators. 25
1, 2, 6, 2, 30, 2, 42, 2, 30, 2, 66, 2, 2730, 2, 6, 2, 510, 2, 798, 2, 330, 2, 138, 2, 2730, 2, 6, 2, 870, 2, 14322, 2, 510, 2, 6, 2, 1919190, 2, 6, 2, 13530, 2, 1806, 2, 690, 2, 282, 2, 46410, 2, 66, 2, 1590, 2, 798, 2, 870, 2, 354, 2, 56786730, 2, 6, 2, 510, 2, 64722, 2, 30, 2, 4686 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

The denominators of the Bernoulli numbers for n>0. B_n sequence begins 1, -1/2, 1/6, 0/2, -1/30, 0/2, 1/42, 0/2, ... This is an alternative version of A027642 suggested by the theorem of Clausen. [From Peter Luschny, Apr 29 2009]

LINKS

Table of n, a(n) for n=0..70.

Thomas Clausen, Lehrsatz aus einer Abhandlung Ueber die Bernoullischen Zahlen, Astr. Nachr. 17 (22) (1840), 351-352.

Wikipedia, Bernoulli number

MAPLE

Clausen := proc(n) local S, i;

S := numtheory[divisors](n); S := map(i->i+1, S);

S := select(isprime, S); mul(i, i=S) end proc:

seq(Clausen(i), i=0..24);

# Peter Luschny, Apr 29 2009

MATHEMATICA

a[n_] := Sum[ Boole[ PrimeQ[d+1]] / (d+1), {d, Divisors[n]}] // Denominator; Table[a[n], {n, 0, 70}] (* Jean-François Alcover, Aug 09 2012 *)

PROG

(Pari)

A141056(n) =

{

    p = 1;

    if (n > 0,

        fordiv(n, d,

            r = d + 1;

            if (isprime(r), p = p*r)

        )

    );

    return(p)

}

for(n=0, 70, print1(A141056(n), ", ")); /* Peter Luschny, May 07 2012 */

CROSSREFS

Cf. A027760, A027642.

Sequence in context: A076743 A217448 A027760 * A141498 A225481 A144845

Adjacent sequences:  A141053 A141054 A141055 * A141057 A141058 A141059

KEYWORD

nonn

AUTHOR

Paul Curtz, Aug 01 2008

EXTENSIONS

Extended by R. J. Mathar, Nov 22 2009

STATUS

approved

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 June 19 06:19 EDT 2013. Contains 226399 sequences.