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!)
A322085 One of the two successive approximations up to 13^n for 13-adic integer sqrt(3). Here the 4 (mod 13) case (except for n = 0). 9
0, 4, 108, 1122, 18698, 361430, 1104016, 5930825, 570667478, 7912243967, 113957237697, 251815729546, 11004778093768, 104197118583692, 3132948184506222, 26757206498701956, 589802029653700283, 7909384730668678534, 85763128005100719931, 648040162764887685576 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
For n > 0, a(n) is the unique solution to x^2 == 3 (mod 13^n) in the range [0, 13^n - 1] and congruent to 4 modulo 13.
A322086 is the approximation (congruent to 9 mod 13) of another square root of 3 over the 13-adic field.
LINKS
Wikipedia, p-adic number
FORMULA
For n > 0, a(n) = 13^n - A322086(n).
a(n) = Sum_{i=0..n-1} A322087(i)*13^i.
a(n) = A286840(n)*A322089(n) mod 13^n = A286841(n)*A322090(n) mod 13^n.
EXAMPLE
4^2 = 16 = 1*13 + 3.
108^2 = 11664 = 69*13^2 + 3.
1122^2 = 1258884 = 573*13^3 + 3.
MAPLE
S:= map(t -> op([1, 3], t), [padic:-evalp(RootOf(x^2-3, x), 13, 30)]):
S4:= op(select(t -> t[1]=4, S)):
seq(add(S4[i]*13^(i-1), i=1..n-1), n=1..31); # Robert Israel, Jun 13 2019
PROG
(PARI) a(n) = truncate(sqrt(3+O(13^n)))
CROSSREFS
Sequence in context: A222930 A221187 A220531 * A128865 A269270 A302113
KEYWORD
nonn
AUTHOR
Jianing Song, Nov 26 2018
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 July 25 12:21 EDT 2024. Contains 374588 sequences. (Running on oeis4.)