login
A250024
40n - 21.
1
19, 59, 99, 139, 179, 219, 259, 299, 339, 379, 419, 459, 499, 539, 579, 619, 659, 699, 739, 779, 819, 859, 899, 939, 979, 1019, 1059, 1099, 1139, 1179, 1219, 1259, 1299, 1339, 1379, 1419, 1459, 1499, 1539, 1579, 1619, 1659, 1699, 1739, 1779, 1819, 1859, 1899
OFFSET
1,1
COMMENTS
This is the sequence of numbers congruent to 19 mod 40.
A142190 gives the primes in this sequence.
FORMULA
G.f.: x*(19+21*x)/(1-x)^2. - Vincenzo Librandi, Nov 11 2014
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Vincenzo Librandi, Nov 11 2014
MATHEMATICA
40 Range[40] - 21 (* Alonso del Arte, Nov 10 2014 *)
CoefficientList[Series[(19 + 21 x) / (1 - x)^2, {x, 0, 50}], x] (* Vincenzo Librandi, Nov 11 2014 *)
PROG
(Python) for n in range(1, 101): print(40*n-21, end=", ")
(Magma) [40*n-21: n in [1..60]]; // Vincenzo Librandi, Nov 11 2014
(PARI) a(n)=40*n-21 \\ Charles R Greathouse IV, May 23 2019
CROSSREFS
Cf. A017377 (10n+9), A142190.
Sequence in context: A042619 A141887 A141773 * A031375 A146351 A139920
KEYWORD
nonn,easy
AUTHOR
Karl V. Keller, Jr., Nov 10 2014
STATUS
approved