OFFSET
1,1
COMMENTS
a(n) is integer for n > 0.
Proof: It is sufficient to prove that 5^(2*n) + 3*2^(5*n-2) is divisible by 7. Since from 5 == -2 (mod 7) follows that 5^(2*n) == 2^(2*n) (mod 7) and from 2^5 == 2^2 (mod 7) follows 2^(5*n-2) == 2^(2*(n-1)) (mod 7), one gets that 5^(2*n) + 3*2^(5*n-2) == 2^(2*n) + 3*2^(2*(n-1)) (mod 7) and 2^(2*n) + 3*2^(2*(n-1)) = 2^(2*(n-1))*(4 + 3) == 0 (mod 7). QED
REFERENCES
James J. Tattersall, Elementary Number Theory in Nine Chapters, Cambridge University Press, 1999, Exercise 5.1.24 on page 158.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (57,-800).
FORMULA
MATHEMATICA
a[n_]:=(5^(2n)+3*2^(5n-2))/7; Array[a, 17]
PROG
(Magma) [(5^(2*n)+3*2^(5*n-2))/7 : n in [1..20]]; // Vincenzo Librandi, Jul 21 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stefano Spezia, Jul 20 2025
STATUS
approved
