This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A302926 #21 Jun 09 2018 08:04:49 %S A302926 0,6,22,210,2974,56130,1324222,37489410,1238235454,46740118530, %T A302926 1984855550782,93653819396610,4860878501987134,275227990564092930, %U A302926 16882335978752910142,1115211301788480951810,78930528072274523870014,5958837996496319756259330 %N A302926 Cumulants of a Fibonacci-geometric probability distribution. %C A302926 If F(k) is the k-th Fibonacci number, where F(0)=0, F(1)=1, and F(n)=F(n-1)+F(n-2), then p(k)=F(k-1)/2^k is a normalized probability distribution on the positive integers. %C A302926 For example, it is the probability that k coin tosses are required to get two heads in a row, or the probability that a random series of k bits has its first two consecutive 1's at the end. %C A302926 The g.f. for this distribution is g(x) = x^2/(4-2x-x^2) = (1/4)x^2 + (1/8)x^3 + (1/8)x^4 + (3/32)x^5 + .... %C A302926 The cumulants of this distribution, defined by the cumulant e.g.f. log(g(e^x)), appear to be integers and form this sequence. %C A302926 The cumulants appear to be even for n >= 0. Dividing them by 2 gives sequence A302927. %C A302926 The n-th moments about zero of this distribution, known as raw moments, are defined by a(n) = Sum_{k>=1} (k^n)p(k). They also appear to be integers and form sequence A302922. %C A302926 For n >= 1, the raw moments also appear to be even. Dividing them by 2 gives sequence A302923. %C A302926 The central moments (i.e., the moments about the mean) also appear to be integers. They form sequence A302924. %C A302926 For n >= 1, the central moments also appear to be even. Dividing them by 2 gives sequence A302925. %C A302926 Note: Another probability distribution on the positive integers that has integral moments and cumulants is the geometric distribution p(k)=1/2^k. The sequences related to these moments are A000629, A000670, A052841, and A091346. %C A302926 Variant of A103437. - _R. J. Mathar_, Jun 09 2018 %H A302926 Albert Gordon Smith, <a href="/A302926/b302926.txt">Table of n, a(n) for n = 0..300</a> %H A302926 Christopher Genovese, <a href="http://www.stat.cmu.edu/~genovese/class/iprob-S06/notes/double-heads.pdf">Double Heads</a> %F A302926 E.g.f.: log(g(e^x)) where g(x) = x^2/(4-2x-x^2) is the g.f. for the probability distribution. %e A302926 a(0)=0 is the 0th cumulant of the distribution. The 0th cumulant is always zero. %e A302926 a(1)=6 is the 1st cumulant, which is always the mean. %e A302926 a(2)=22 is the 2nd cumulant, which is always the variance. %t A302926 Module[{max, r, g}, %t A302926 max = 17; %t A302926 r = Range[0, max]; %t A302926 g[x_] := x^2/(4 - 2 x - x^2); %t A302926 r! CoefficientList[Normal[Series[Log[g[Exp[x]]], {x, 0, max}]], x] %t A302926 ] %Y A302926 Half-cumulants: A302927. %Y A302926 Raw moments: A302922. %Y A302926 Raw half-moments: A302923. %Y A302926 Central moments: A302924. %Y A302926 Central half-moments: A302925. %Y A302926 Cf. A000629, A000670, A052841, A091346, A103437. %K A302926 nonn %O A302926 0,2 %A A302926 _Albert Gordon Smith_, Apr 15 2018