Cyclic number
Encyclopedia
|
| Tutorials | Encyclopedia | Dictionary | Directory |
|
![]()
Cyclic number
A cyclic number is an integer in which cyclic permutations of the digits are successive multiples of the number. The most widely known is 142857:
Special casesIf leading zeros are not permitted on numerals, then 142857 is the only cyclic number in decimal. Allowing leading zeros, the sequence of cyclic numbers begins:
To qualify as a cyclic number, it is required that successive multiples be cyclic permutations. Thus, the number 076923 would not be considered a cyclic number, even though all cyclic permutations are multiples:
This restriction also excludes such trivial cases as:
Single digits may be considered degenerate or trivial cases of cyclic numbers. Relation to recurring decimalsThe Cyclic numbers are related to the repeating digital representations of unit fractions. In general, for a cyclic number of length L, the digital representation of
has a period of L, and repeats the cyclic number. For example:
Multiples of these fractions also exhibit cyclic permutation:
Conversely, if the digital period of 1 /p is
then the digits repeat a cyclic number. Form of cyclic numbersFrom the relation to unit fractions, it can be shown that cyclic numbers are of the form
where b is the number base (10 for decimal), and p is a prime that does not divide b. (Primes p that give cyclic numbers are called full reptend primes or long primes). For example, the case b = 10, p = 7 gives the cyclic number 142857. Not all values of p will yield a cyclic number using this formula; for example p=13 gives 076923076923. These failed cases will always contain a repetition of digits (possibly several). The first values of p for which this formula produces cyclic numbers in decimal are (sequence A001913 in OEIS):
The known pattern to this sequence comes from algebraic number theory, specifically, this sequence is the set of primes p such that 10 is a primitive root modulo p. A conjecture of Emil Artin http://mathworld.wolfram.com/ArtinsConstant.html is that this sequence contains 37.395..% of the primes. Construction of cyclic numbersCyclic numbers can be constructed by the following procedure: Let b be the number base (10 for decimal)
if t = p − 1 then n is a cyclic number. This procedure works by computing the digits of 1 /p in base b, by long division. r is the remainder at each step, and d is the digit produced. The step
serves simply to collect the digits. For computers not capable of expressing very large integers, the digits may be outputted or collected in another way. Note that if t ever exceeds p/ 2, then the number must be cyclic, without the need to compute the remaining digits. Properties of cyclic numbers
14
28
56
112
224
448
+ 896
-------------------
142857142857...
Other numeric basesUsing the above technique, cyclic numbers can be found in other numeric bases. (Note that not all of these follow the second rule (all successive multiples being cyclic permutations) listed in the Special Cases section above) In binary, the sequence of cyclic numbers begins:
In ternary:
In octal:
In duodecimal:
In Base 24:
Note that in ternary (b = 3), the case p = 2 yields 1 as a cyclic number. While single digits may be considered trivial cases, it may be useful for completeness of the theory to consider them only when they are generated in this way. It can be shown that no cyclic numbers (other than trivial single digits) exist in any numeric base which is a perfect square; thus there are no cyclic numbers in hexadecimal. See alsoReferences
External links
de:Zyklische Zahl fr:Nombre cyclique ja:????? pl:Liczba kolista
Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article
|
|
top
©2008-2009 TutorGig.com. All Rights Reserved. Privacy Statement