login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A048898 Successive approximations up to 5^n for the 5-adic integer sqrt(-1). 4
0, 2, 7, 57, 182, 2057, 14557, 45807, 280182, 280182, 6139557, 25670807, 123327057, 123327057, 5006139557, 11109655182, 102662389557, 407838170807, 3459595983307, 3459595983307, 79753541295807, 365855836217682 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

This is the root congruent to 2 mod 5.

Or, residues modulo 5^n of a 5-adic solution of x^2+1=0.

The radix-5 expansion of a(n) is obtained from the n rightmost digits in the expansion of the following pentadic integer:

...422331102414131141421404340423140223032431212 = u

The residues modulo 5^n of the other 5-adic solution of x^2+1=0 are given by A048899 which corresponds to the pentadic integer -u:

...022113342030313303023040104021304221412013233 = -u

REFERENCES

J. H. Conway, The Sensual Quadratic Form, p. 118.

K. Mahler, Introduction to p-Adic Numbers and Their Functions, Cambridge, 1973, p. 35.

LINKS

G. P. Michon, On the witnesses of a composite integer

G. P. Michon, Introduction to p-adic integers

FORMULA

If n>0, a(n) = 5^n-A048899(n)

EXAMPLE

a(0)=0 because 0 satisfies any equation in integers modulo 1.

a(1)=2 because 2 is one solution of x^2+1=0 modulo 5. (The other solution is 3, which gives rise to A048899.)

a(2)=7 because the equation (5y+a(1))^2+1=0 modulo 25 means that y is 1 modulo 5.

MATHEMATICA

a[0] = 0; a[1] = 2; a[n_] := a[n] = Mod[a[n-1]^5, 5^n]; Table[a[n], {n, 0, 21}] (* From Jean-François Alcover, Nov 24 2011, after Pari *)

PROG

(PARI) a(n)=if(n<2, 2, a(n-1)^5)%5^n

CROSSREFS

Cf. A000351 (powers of 5), A048899 (the other pentadic number whose square is -1), A034939(n)=Min(a(n), A048899(n)).

Cf. A034935. Different from A034935.

Sequence in context: A002658 A175818 A034939 * A034935 A178769 A121079

Adjacent sequences:  A048895 A048896 A048897 * A048899 A048900 A048901

KEYWORD

nonn,easy,nice

AUTHOR

Michael Somos

EXTENSIONS

Additional comments from Gerard P. Michon (g.michon(AT)att.net), Jul 15 2009

Edited by N. J. A. Sloane, Jul 25 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 07:42 EST 2012. Contains 205717 sequences.