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.

A309475 Digits of one of the two 3-adic integers sqrt(-1/2). Here the sequence with first digit 2.

Original entry on oeis.org

2, 0, 1, 0, 0, 1, 0, 2, 1, 1, 1, 2, 0, 1, 0, 2, 1, 0, 2, 1, 2, 2, 1, 0, 2, 0, 1, 1, 1, 0, 0, 0, 1, 2, 1, 0, 1, 0, 1, 1, 0, 1, 0, 2, 2, 1, 0, 1, 1, 1, 2, 1, 2, 1, 0, 1, 0, 1, 0, 0, 2, 0, 1, 2, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 0, 0, 2, 0, 1, 1, 0, 2, 0, 2, 0, 2, 0, 0, 2, 0, 0, 2, 2, 2, 1, 0, 2, 2, 2
Offset: 0

Views

Author

Seiichi Manyama, Aug 04 2019

Keywords

Crossrefs

Programs

  • Maple
    T:= select(t -> padic:-ratvaluep(t, 1)=2, [padic:-rootp(x^2+1/2, 3, 100)]): op([1, 1, 3], T); # Robert Israel, Aug 05 2019
  • PARI
    Vecrev(digits(truncate(-sqrt(-1/2+O(3^100))), 3))

Formula

p = ...100102, p^2 = ...111111.
q = A271224 = ...022012, p * q = ...000001.
a(n) = (b(n+1) - b(n))/3^n, with b(n) = A309477(n).