|
|
A309477
|
|
One of the two successive approximations up to 3^n for the 3-adic integer sqrt(-1/2).
|
|
3
|
|
|
0, 2, 2, 11, 11, 11, 254, 254, 4628, 11189, 30872, 89921, 444215, 444215, 2038538, 2038538, 30736352, 73783073, 73783073, 848624051, 2010885518, 8984454320, 29905160726, 61286220335, 61286220335, 626145293297, 626145293297, 3168011121626, 10793608606613, 33670401061574
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(1) = ( 2)_3 = 2,
a(2) = ( 2)_3 = 2,
a(3) = (102)_3 = 11,
a(4) = (102)_3 = 11.
|
|
PROG
|
(PARI) {a(n) = if(n, 3^n-truncate(sqrt(-1/2+O(3^n))), 0)}
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|