Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I need to define the period of a decimal representation of a number!!

Thanks in advance!!

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Period of a decimal representation of a number may be defined in terms of cyclic numbers:

See https://en.wikipedia.org/wiki/Cyclic_number#Relation_to_repeating_decimals for fun details

share|improve this answer
add comment

It's just how many digits in the repeated part i.e. 1.23123123... has period 3

share|improve this answer
    
Hi @john, thanks!! But formally is possible?? –  Andrej Arsen'evič Tarkovskij Jun 2 '13 at 12:27
1  
well I suppose I could define a sequence by $a_1=N$ and $a_{n+1}=10(a_n-Floor[a_n])$ and then the period is the minimum value of $k$ such that $a_{m+k}=a_m$ for some $m$ –  john Jun 2 '13 at 12:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.