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!)
A250401 Denominator of the harmonic mean of the first n nonzero octagonal numbers. 3
1, 9, 197, 503, 6623, 17813, 340527, 3763087, 169947523, 170436583, 5295982873, 90208585541, 3343268872217, 3348036962687, 144143598106421, 1659445372263179, 11627213232841853, 3879029288899801, 352907045903771, 10241306344308349, 208368821623076563 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n+1), for n >= 0, is also the numerator of the partial sums of the reciprocal octagonal numbers Sum_{k=0..n} 1/((k + 1)*(3*k + 1)) with the denominators given in A294512(n) [assuming that n+1 divides A250400(n+1) to give A294512(n) for n >= 0]. - Wolfdieter Lang, Nov 01 2017
LINKS
FORMULA
Denominator of 12*n/(Pi*sqrt(3) + 9*log(3) + 6*Psi(n+1/3) - 6*Psi(n+1)). - Robert Israel, Nov 01 2017
EXAMPLE
a(3) = 197 because the octagonal numbers A000567(n), for n = 1..3, are [1,8,21], and 3/(1/1 + 1/8 + 1/21) = 504/197.
MAPLE
f:= n -> denom(n/add(1/(k*(3*k-2)), k=1..n)):
map(f, [$1..40]); # Robert Israel, Nov 01 2017
MATHEMATICA
With[{s = Array[PolygonalNumber[8, #] &, 21]}, Denominator@ Array[HarmonicMean@ Take[s, #] &, Length@ s]] (* Michael De Vlieger, Nov 01 2017 *)
PROG
(PARI)
harmonicmean(v) = #v / sum(k=1, #v, 1/v[k])
s=vector(30); for(n=1, #s, s[n]=denominator(harmonicmean(vector(n, k, 3*k^2-2*k)))); s
CROSSREFS
Cf. A000567 (octagonal numbers), A250400 (numerators), A294512.
Sequence in context: A017426 A244506 A274269 * A291974 A180778 A110807
KEYWORD
nonn,frac,easy
AUTHOR
Colin Barker, Nov 21 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 April 23 09:48 EDT 2024. Contains 371905 sequences. (Running on oeis4.)