cp's OEIS Frontend

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.

A230950 Boustrophedon transform of Thue-Morse sequence A010060.

Original entry on oeis.org

0, 1, 3, 6, 15, 50, 186, 834, 4243, 24318, 154780, 1083952, 8280624, 68531308, 610796150, 5832677415, 59411150931, 642979374958, 7368000716808, 89121684577460, 1134732527849730, 15170256449030866, 212469074496520610, 3111026318662704255, 47532980801984327584
Offset: 0

Views

Author

Reinhard Zumkeller, Nov 03 2013

Keywords

Crossrefs

Programs

  • Haskell
    a230950 n = sum $ zipWith (*) (a109449_row n) $ map fromIntegral a010060_list
    
  • Mathematica
    T[n_, k_] := (n!/k!) SeriesCoefficient[(1 + Sin[x])/Cos[x], {x, 0, n - k}];
    a[n_] := Sum[T[n, k] ThueMorse[k], {k, 0, n}];
    Table[a[n], {n, 0, 24}] (* Jean-François Alcover, Jul 02 2019 *)
  • Python
    from itertools import count, islice, accumulate
    def A230950_gen(): # generator of terms
        blist = tuple()
        for i in count(0):
            yield (blist := tuple(accumulate(reversed(blist), initial=i.bit_count()&1)))[-1]
    A230950_list = list(islice(A230950_gen(),30)) # Chai Wah Wu, Apr 17 2023

Formula

a(n) = Sum_{k=0..n} A109449(n,k)*A010060(k).