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!)
A290804 One of the two successive approximations up to 7^n for the 7-adic integer sqrt(-3). These are the numbers congruent to 5 mod 7 (except for the initial 0). 10
0, 5, 12, 306, 306, 2707, 69935, 658180, 4775895, 10540696, 10540696, 575491194, 4530144680, 59895293484, 544340345519, 1900786491217, 20891032530989, 87356893670191, 319987407657398, 10090468995120092, 44287154551239521, 203871687146463523 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
x = ...410615,
x^2 = ...666664 = -3.
LINKS
Wikipedia, Hensel's Lemma.
FORMULA
a(0) = 0 and a(1) = 5, a(n) = a(n-1) + 2 * (a(n-1)^2 + 3) mod 7^n for n > 1.
If n > 0, a(n) = 7^n - A290803(n).
a(n) = L(7^n,5) (mod 7^n) = ( ((5 + sqrt(29))/2)^(7^n) + ((5 - sqrt(29))/2)^(7^n) ) (mod 7^n), where L(n,x) denotes the n-th Lucas polynomial of A114525. - Peter Bala, Nov 28 2022
EXAMPLE
a(1) = 5_7 = 5,
a(2) = 15_7 = 12,
a(3) = 615_7 = 306,
a(4) = 615_7 = 306,
a(5) = 10615_7 = 2707.
PROG
(PARI) a(n) = if (n, 7^n - truncate(sqrt(-3+O(7^(n)))), 0)
CROSSREFS
Sequence in context: A195538 A330218 A047658 * A353365 A146542 A264873
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Aug 11 2017
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 9 10:59 EDT 2024. Contains 372350 sequences. (Running on oeis4.)