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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054471 Smallest prime p having n different cycles in decimal expansions of k/p, k=1..p-1. 5
7, 3, 103, 53, 11, 79, 211, 41, 73, 281, 353, 37, 2393, 449, 3061, 1889, 137, 2467, 16189, 641, 3109, 4973, 11087, 1321, 101, 7151, 7669, 757, 38629, 1231, 49663, 12289, 859, 239, 27581, 9613, 18131, 13757, 33931, 9161, 118901, 6763, 18233 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

First cyclic number of n-th degree (or n-th order): the reciprocals of these numbers belong to one of n different cycles. Each cycle has (a(n) - 1)/n digits.

REFERENCES

John H. Conway and R. K. Guy, The Book of Numbers, Copernicus Press, p. 162.

M. Gardner, Mathematical Circus, Cambridge University Press (1996).

LINKS

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

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

H. Richter, The period length of the decimal expansion of a fraction

MATHEMATICA

f[n_Integer] := Block[{ds = Divisors[n - 1]}, (n - 1)/Take[ ds, Position[ PowerMod[ 10, ds, n], 1] [[1, 1]]] [[ -1]]]; t = Table[0, {50}]; Do[a = f[ Prime[n]]; If[a < 51 && t[[a]] == 0, t[[a]] = Prime[n]], {n, 2, 11225}]; t (from Robert G. Wilson v (rgwv(AT)rgwv.com), Apr 19 2005)

CROSSREFS

First time n appears in A006556.

Cf. A006883, A097443, A055628, A056157, A056210, A056211, A056212, A056213, A056214, A056215, A056216, A056217, A098680, which are sequences of primes p where the period of the reciprocal is (p-1)/n for n=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13.

Sequence in context: A183421 A173443 A003723 * A086453 A112099 A013324

Adjacent sequences:  A054468 A054469 A054470 * A054472 A054473 A054474

KEYWORD

nonn,easy,nice,base

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), 1994; Antreas P. Hatzipolakis (xpolakis(AT)otenet.gr), May 22 2000

EXTENSIONS

More terms from David W. Wilson (davidwwilson(AT)comcast.net), May 22, 2000.

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 23:53 EST 2012. Contains 205860 sequences.