Skip to main content

On Pillai’s problem with the Fibonacci and Pell sequences


Let \((F_n)_{n\ge 0}\) and \((P_n)_{n\ge 0}\) be the Fibonacci and Pell sequences given by the initial conditions \(F_0=0,~F_1=1\), \(P_0=0, ~P_1=1\) and the recurrence formulas \(F_{n+2}=F_{n+1}+F_n\),  \(P_{n+2}=2P_{n+1}+P_n\) for all \(n\ge 0\), respectively. In this note, we study the Pillai type problem:

$$\begin{aligned} F_n-P_m=F_{n_1}-P_{m_1} \end{aligned}$$

in non-negative integer pairs \((n,m)\ne (n_1,m_1)\). We completely solve this equation.

This is a preview of subscription content, access via your institution.


  1. Baker, A., Davenport, H.: The equations \(3X^2-2=Y^2\) and \(8X^2-7=Z^2\). Q. J. Math. Oxf. 20(2), 129–137 (1969)

    Article  Google Scholar 

  2. Bravo, J.J., Gómez, C.A., Luca, F.: Powers of two as sums of two \(k\)-Fibonacci numbers. Miskolc Math. Notes 17(1), 85–100 (2016)

    MathSciNet  Article  Google Scholar 

  3. Bravo, J.J., Luca, F., Yazán, K.: On Pillai’s problem with Tribonacci numbers and Powers of 2. Bull. Korean Math. Soc 54(3), 1069–1080 (2017)

    MathSciNet  Article  Google Scholar 

  4. Bugeaud, Y., Mignotte, M., Siksek, S.: Classical and modular approaches to exponential diophantine equations I: Fibonacci and Lucas perfect powers. Ann. Math. 163, 969–1018 (2006)

    MathSciNet  Article  Google Scholar 

  5. Chim, K.C., Pink, I., Ziegler, V.: On a varian of Pillai’s problem. Int. J. Number Theory 7, 1711–1727 (2017)

    Article  Google Scholar 

  6. Chim, K.C., Pink, I., Ziegler, V.: On a varian of Pillai’s problem II. J. Number Theory 183, 269–290 (2018)

    MathSciNet  Article  Google Scholar 

  7. Ddamulira, M., Luca, F., Rakotomalala, M.: On a problem of Pillai with Fibonacci and powers of 2. Proc. Indian Acad. Sci. (Math. Sci.) 127(3), 411–421 (2017)

    MathSciNet  Article  Google Scholar 

  8. Ddamulira, M., Gómez, C.A., Luca, F.: On a problem of Pillai with \(k\)-generalized Fibonacci numbers and powers of 2. Monatsh. Math. 187(4), 635–664 (2018)

    MathSciNet  Article  Google Scholar 

  9. Dujella, A., Pethő, A.: A generalization of a theorem of Baker and Davenport. Q. J. Math. Oxf. 49(3), 291–306 (1998)

    MathSciNet  Article  Google Scholar 

  10. Guzmán Sánchez, S., Luca, F.: Linear combinations of factorials and \(S\)-units in a binary recurrence sequence. Ann. Math. Qué. 38, 169–188 (2014)

    MathSciNet  MATH  Google Scholar 

  11. Matveev, E.M.: An explicit lower bound for a homogeneous rational linear form in the logarithms of algebraic numbers II. Izv. Math. 64(6), 1217–1269 (2000)

    MathSciNet  Article  Google Scholar 

  12. Pillai, S.S.: On \(a^x-b^y=c\). J. Indian Math. Soc. 2, 119–122 (1936)

    MATH  Google Scholar 

Download references


We thank the referees for their comments and remarks which improved the quality of this work. S.H.H. thanks Leticia A. Ramírez for the generous support. F. L. was supported in part by Grant CPRR160325161141 and an A-rated scientist award both from the NRF of South Africa and by Grant no. 17-02804S of the Czech Granting Agency. F.L. worked on this paper during visits to the Mathematics Department at the UAZ, Zacatecas, Mexico, and the Max Planck Institute for Mathematics, Bonn, Germany, in February and March of 2018, respectively. He thanks these institutions for the generous support and hospitality. L.M.R. was partially supported by Grant PFCE 2018-2019 (UAZ-CA-169).

Author information

Authors and Affiliations


Corresponding author

Correspondence to Santos Hernández Hernández.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Hernández Hernández, S., Luca, F. & Rivera, L.M. On Pillai’s problem with the Fibonacci and Pell sequences. Bol. Soc. Mat. Mex. 25, 495–507 (2019).

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI:


  • Fibonacci
  • Pell sequences
  • Pillai’s type problem
  • Linear form in logarithms

Mathematics Subject Classification

  • 11B39
  • 11D45
  • 11D61
  • 11J86