login
A309475
Digits of one of the two 3-adic integers sqrt(-1/2). Here the sequence with first digit 2.
3
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,1
LINKS
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).
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
PROG
(PARI) Vecrev(digits(truncate(-sqrt(-1/2+O(3^100))), 3))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Seiichi Manyama, Aug 04 2019
STATUS
approved