login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A090818
Nonprimes n such that 3*(3^n-1)*B(2n) is an integer, where B(k) denotes the k-th Bernoulli number.
0
1, 4, 12, 16, 25, 28, 32, 35, 36, 48, 49, 52, 55, 64, 65, 76, 77, 80, 84, 85, 91, 92, 95, 96, 108, 112, 115, 119, 121, 124, 125, 133, 143, 144, 145, 148, 155, 156, 160, 161, 164, 169, 172, 175, 185, 187, 188, 192, 196, 203, 205, 208, 209, 212, 215, 217, 221, 228
OFFSET
1,2
COMMENTS
It appears that a(n) is never == 2 (mod 4)
PROG
(PARI) a(n)=denominator(bernfrac(2*prime(n)))
CROSSREFS
Sequence in context: A186303 A073687 A187084 * A075191 A320922 A028594
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 11 2004
STATUS
approved