Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A007732
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A007732 Period of decimal representation of 1/n. +0
17
1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 2, 1, 6, 6, 1, 1, 16, 1, 18, 1, 6, 2, 22, 1, 1, 6, 3, 6, 28, 1, 15, 1, 2, 16, 6, 1, 3, 18, 6, 1, 5, 6, 21, 2, 1, 22, 46, 1, 42, 1, 16, 6, 13, 3, 2, 6, 18, 28, 58, 1, 60, 15, 6, 1, 6, 2, 33, 16, 22, 6, 35, 1, 8, 3, 1, 18, 6, 6, 13, 1, 9, 5, 41, 6, 16, 21, 28, 2, 44, 1 (list; graph; listen)
OFFSET

1,7

COMMENT

Appears to be a divisor of A007733*A007736. - Henry Bottomley (se16(AT)btinternet.com), Dec 20 2001

REFERENCES

J. H. Conway and R. K. Guy, The Book of Numbers, Copernicus Press, NY, 1996, pp. 159 etc.

LINKS

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

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

FORMULA

Note that if n=r*s where r is a power of 2 and s is odd then a(n)=a(s). Also if n=r*s where r is a power of 5 and s is not divisible by 5 then a(n) = a(s). So we just need a(n) for n not divisible by 2 or 5. This is the smallest number m such that n divides 10^m - 1; m is a divisor of phi(n), where phi = A000010.

phi(n) = n-1 only if n is prime, and since a(n) divides phi(n), a(n) can only equal n-1 if n is prime. - Scott Hemphill (hemphill(AT)alumni.caltech.edu), Nov 23 2006

a(n)=a(A132740(n)); a(A132741(n))=a(A003592(n))=1. - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Aug 27 2007

PROGRAM

(PARI) A007732(n, amax)={ if( n % 2== 0, return(A007732(n/2, amax)) ; ) ; if( n % 5== 0, return(A007732(n/5, amax)) ; ) ; for(m=1, amax, if( (10^m-1) % n == 0, return(m) ; ) ; ) ; return(-1) ; } { for(n=1, 100, print(n, " ", A007732(n, 500)) ; ) ; } - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 30 2006

CROSSREFS

Cf. A121341, A066799, A121090.

Sequence in context: A080219 A040037 A009194 this_sequence A126795 A064793 A034460

Adjacent sequences: A007729 A007730 A007731 this_sequence A007733 A007734 A007735

KEYWORD

nonn,base,easy,nice

AUTHOR

njas, Hal Sampson [ hals(AT)easynet.com ]

EXTENSIONS

More terms from James A. Sellers (sellersj(AT)math.psu.edu), Feb 05 2000

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research