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.

Showing 1-2 of 2 results.

A099817 Bisection of A000796 (decimal expansion of Pi).

Original entry on oeis.org

1, 1, 9, 6, 3, 8, 7, 3, 3, 4, 2, 4, 3, 3, 7, 5, 2, 8, 1, 7, 6, 3, 9, 7, 1, 5, 2, 9, 4, 4, 5, 2, 0, 8, 6, 0, 2, 6, 0, 9, 8, 2, 0, 4, 2, 3, 2, 1, 0, 7, 8, 1, 8, 8, 5, 3, 8, 3, 6, 4, 0, 3, 4, 6, 9, 5, 5, 2, 3, 7, 5, 5, 4, 8, 2, 4, 1, 1, 4, 0, 8, 1, 2, 0, 9, 8, 2, 1, 5, 5, 6, 4, 2, 9, 8, 5, 9, 0, 8, 9, 4, 2, 8, 0, 7
Offset: 1

Views

Author

N. J. A. Sloane, Nov 19 2004

Keywords

Crossrefs

Programs

  • Mathematica
    Take[RealDigits[Pi,10,230][[1]],{2,-1,2}] (* Harvey P. Dale, Aug 11 2024 *)

Extensions

More terms from Joshua Zucker, May 15 2006

A306389 Partial sums of (k-th digit of decimal expansion of Pi multiplied by (-1)^k).

Original entry on oeis.org

-3, -2, -6, -5, -10, -1, -3, 3, -2, 1, -4, 4, -5, 2, -7, -4, -6, -3, -11, -7, -13, -11, -17, -13, -16, -13, -21, -18, -20, -13, -22, -17, -17, -15, -23, -15, -19, -18, -27, -20, -21, -15, -24, -21, -30, -21, -24, -17, -22, -21, -21, -16, -24, -22, -22, -13, -20, -16, -25, -21, -25, -20, -29, -27, -30, -30, -37, -29, -30, -24, -28
Offset: 1

Views

Author

Luca Petrone, Feb 12 2019

Keywords

Comments

a(n) > 0 for n = 8, 10, 12, 14, 16124, 16126, ... and a(n) = 0 for n = 16120, 16161, 16937, ... - Michel Marcus, Feb 13 2019

Crossrefs

Programs

  • Mathematica
    Accumulate@ MapIndexed[(-1)^First[#2]*#1 &, First@ RealDigits[Pi, 10, 71]] (* Michael De Vlieger, Feb 15 2019 *)

Formula

a(n) = Sum_{k=1..n} (-1)^k*A000796(k).
a(n) = Sum_{k=1..floor(n/2)} A099817(k) - Sum_{k=1..floor((n+1)/2)} A099816(k). - Michel Marcus, Feb 16 2019
Showing 1-2 of 2 results.