+0  
 
0
553
2
avatar

The Lucas sequence is the sequence 1, 3, 4, 7, 11,... where the first term is 1, the second term is 3 and each term after that is the sum of the previous two terms. What is the remainder when the 100th term of the sequence is divided by 20?

 May 22, 2021
 #1
avatar+128475 
+1

The  nth  term  in  the  Lucas series  is  given by  :

 

Phi ^n    -  (-phi)^n

 

Where   Phi  =    ( 1 + sqrt (5) )  / 2        and phi  is  (sqrt (5) - 1))  /2

 

So....the  100th term  =

 

[ (1 + sqrt (5))/2) ] ^100  +  [  ( sqrt (5) - 1)  /2  ]^100   =  792070839848372253127

 

792070839848372253127 mod 20   =   7

 

 

cool cool cool

 May 22, 2021
 #2
avatar+26367 
+1

The Lucas sequence is the sequence \(1,~ 3,~ 4,~ 7,~ 11,~\dots\)
where the first term is 1,
the second term is 3 and each term after that is the sum of the previous two terms.
What is the remainder when the 100th term of the sequence is divided by 20?

 

In number theory, the nth Pisano period, written p(n), is the period with which
the sequence taken modulo n repeats.

The Pisano periods of Lucas numbers are
     1,  3,  8,  6,  4, 24, 16, 12, 24, 12,
    10, 24, 28, 48,  8, 24, 36, 24, 18, \({\color{red}12}\),
    16, 30, 48, 24, 20, 84, 72, 48, 14, 24,
    30, 48, 40, 36, 16, 24, 76, 18, 56, 12,
    40, 48, 88, 30, 24, 48, 32,  \(\dots\) (sequence A106291 in the OEIS)
Source: https://en.wikipedia.org/wiki/Pisano_period

 

\(\begin{array}{|r|r|r|} \hline n &\text{Lucas numbers} \quad L(n) & L(n)\pmod{20} \\ \hline 1 &1 & \color{blue}1\\ 2 &3 & \color{blue}3 \\ 3 &4 &\color{blue}4\\ 4 &7 &\color{blue}7\\ 5 &11& \color{blue}11\\ 6 &18 &\color{blue}18\\ 7 &29 &\color{blue}9\\ 8 &47 &\color{blue}7\\ 9 &76 &\color{blue}16\\ 10 &123 &\color{blue}3\\ 11 &199&\color{blue}19\\ \color{red}12 &322&\color{blue}2\\ \hline 13 &521& 1\\ 14 &843 &3\\ 15 &1364&4\\ 16 &2207&7\\ \ldots & \ldots & \ldots \\ \hline \end{array}\)

 

Lucas number \(\pmod{20}\) cycle is \(\begin{array}{rrrrrrrrrrrrr} \text{period} & \{ 1,&3,&4,&\color{red}7,&11,&18,&9,&7,&16,&3,&19,&2\} \\ \text{index} & \{ 1,&2,&3&\color{red}4,&5,&6,&7,&8,&9,&10,&11,&0(12)\} \\ \end{array}\)

The cycle length is \( \color{red}12\).

 

cycle index for \(L(100) \pmod{20}\) is  \(100 \pmod{12} ={\color{red} 4}\)

 

\(L(100) \pmod{20} = \color{red}7\)

 

The remainder when the 100th term of the sequence is divided by 20 is 7

 

laugh

 May 23, 2021
edited by heureka  May 23, 2021
edited by heureka  May 23, 2021

5 Online Users

avatar
avatar
avatar
avatar