OFFSET
0,3
COMMENTS
It is easy to prove that when a(n) is divisible by 7 it is also divisible by 13, but the converse does not always hold. - Bruno Berselli, May 22 2018
LINKS
Stephan Ramon Garcia, Yu Xuan Hong, Florian Luca, Elena Pinsker, Carlo Sanna, Evan Schechter and Adam Starr, p-Adic Quotient Sets, arXiv:1607.07951 [math.NT], 2018 (see Example 5.5, page 15).
Index entries for linear recurrences with constant coefficients, signature (20,-75).
FORMULA
O.g.f.: x/((1 - 5*x)*(1 - 15*x)).
E.g.f.: (-1 + exp(10*x))*exp(5*x)/10. - Bruno Berselli, May 22 2018
a(n) = 20*a(n-1) - 75*a(n-2), n>1.
MATHEMATICA
Table[5^(n - 1) (3^n - 1)/2, {n, 0, 25}]
PROG
(Magma) [5^(n-1)*(3^n-1)/2: n in [0..20]];
(PARI) a(n) = 5^(n-1) * (3^n - 1) / 2 \\ Felix Fröhlich, May 22 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, May 22 2018
STATUS
approved