|
|
A309698
|
|
Digits of the 4-adic integer 3^(1/3).
|
|
6
|
|
|
3, 2, 3, 1, 1, 0, 3, 3, 1, 0, 2, 0, 3, 3, 0, 3, 1, 3, 0, 1, 1, 3, 0, 3, 3, 3, 3, 3, 1, 0, 3, 2, 0, 2, 0, 0, 1, 2, 3, 2, 0, 3, 1, 0, 1, 1, 1, 2, 1, 2, 0, 1, 0, 1, 3, 2, 2, 1, 1, 1, 3, 2, 2, 0, 3, 3, 3, 0, 3, 0, 0, 0, 3, 0, 2, 3, 3, 0, 3, 2, 1, 2, 1, 2, 2, 1, 0, 0, 0, 2, 0, 1, 3, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
Define the sequence {b(n)} by the recurrence b(0) = 0 and b(1) = 3, b(n) = b(n-1) + b(n-1)^3 - 3 mod 4^n for n > 1, then a(n) = (b(n+1) - b(n))/4^n.
|
|
PROG
|
(PARI) N=100; Vecrev(digits(lift((3+O(2^(2*N)))^(1/3)), 4), N)
(Ruby)
ary = [3]
a = 3
n.times{|i|
b = (a + a ** 3 - 3) % (4 ** (i + 2))
ary << (b - a) / (4 ** (i + 1))
a = b
}
ary
end
|
|
CROSSREFS
|
Digits of the k-adic integer (k-1)^(1/(k-1)): this sequence (k=4), A309699 (k=6), A309700 (k=8), A225458 (k=10).
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|