The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
a(n) = 3^n - A309476(n) for n > 0.
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
Sequence in context: A090525 A328455 A265530 * A126806 A279197 A121871
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Aug 04 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 15 11:50 EDT 2024. Contains 372540 sequences. (Running on oeis4.)