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!)
A051276 Nonzero coefficients in one of the 5-adic expansions of sqrt(-1). 0
2, 1, 2, 1, 3, 4, 2, 3, 3, 2, 2, 4, 1, 3, 2, 4, 4, 3, 4, 4, 1, 2, 4, 1, 4, 1, 1, 3, 1, 4, 1, 4, 2, 1, 1, 3, 3, 2, 2, 4, 4, 2, 4, 3, 1, 2, 4, 3, 3, 3, 3, 1, 3, 1, 1, 3, 3, 4, 1, 3, 3, 3, 4, 2, 2, 2, 1, 4, 1, 1, 4, 4, 2, 1, 2, 3, 4, 4, 4, 2, 2, 1, 3, 1, 3, 2, 4, 2, 1, 4, 3, 4, 3, 1, 2, 1, 3, 3, 3, 1, 1, 3, 1, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
REFERENCES
Kurt Mahler, Introduction to p-adic numbers and their functions. Cambridge Tracts in Mathematics, 76. Cambridge University Press, Cambridge-New York, 1971. See pp. 35ff.
LINKS
EXAMPLE
2 + 1*5 + 2*5^2 + 1*5^3 + 3*5^4 + 4*5^5 + 2*5^6 + 3*5^7 + 3*5^9 + 2*5^10 + 2*5^11 + 4*5^13 + 1*5^14 + 3*5^15 + 2*5^16 + 4*5^17 + 4*5^19 + ...
MAPLE
R:= select(t -> padic:-ratvaluep(t, 1)=2, [padic:-rootp(x^2+1, 5, 200)]):
subs(0=NULL, op([1, 1, 3], R)); # Robert Israel, Mar 04 2016
PROG
(PARI) sqrt(-1+O(5^100))
CROSSREFS
Sequence in context: A133117 A344594 A210850 * A226212 A233439 A256600
KEYWORD
nonn,easy,nice
AUTHOR
EXTENSIONS
More terms from Antonio G. Astudillo (afg_astudillo(AT)hotmail.com) and Jason Earls, Jun 15 2001
Name corrected by Robert Israel at the suggestion of Wolfdieter Lang, Mar 04 2016
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 April 20 00:03 EDT 2024. Contains 371798 sequences. (Running on oeis4.)