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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A051628 Number of digits in decimal expansion of 1/n before the periodic part begins. 2
0, 1, 0, 2, 1, 1, 0, 3, 0, 1, 0, 2, 0, 1, 1, 4, 0, 1, 0, 2, 0, 1, 0, 3, 2, 1, 0, 2, 0, 1, 0, 5, 0, 1, 1, 2, 0, 1, 0, 3, 0, 1, 0, 2, 1, 1, 0, 4, 0, 2, 0, 2, 0, 1, 1, 3, 0, 1, 0, 2, 0, 1, 0, 6, 1, 1, 0, 2, 0, 1, 0, 3, 0, 1, 2, 2, 0, 1, 0, 4, 0, 1, 0, 2, 1, 1, 0, 3, 0, 1, 0, 2, 0, 1, 1, 5, 0, 1, 0, 2, 0, 1, 0, 3, 1 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

LINKS

T. D. Noe, Table of n, a(n) for n=1..1000

L. Lopes, POLYA problem

Index entries for sequences related to decimal expansion of 1/n

FORMULA

for n>1, a(n)=max(i, j) where n=2^i*3^x*5^j*... is the prime decomposition of n.

EXAMPLE

1/8 = .1250000... so a(8)=3, 1/15 = .0666666..., so a(15)=1.

CROSSREFS

Sequence in context: A110962 A065715 A180984 * A163540 A127967 A147602

Adjacent sequences:  A051625 A051626 A051627 * A051629 A051630 A051631

KEYWORD

nonn,nice,easy,base

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

More terms from Michael Lugo (mlugo(AT)thelabelguy.com), Dec 22 1999

More terms from Frank Adams-Watters (FrankTAW(AT)Netscape.net), May 05 2006

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 03:59 EST 2012. Contains 205694 sequences.