login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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