|
|
A143988
|
|
Numbers congruent to {5, 13} mod 18.
|
|
1
|
|
|
5, 13, 23, 31, 41, 49, 59, 67, 77, 85, 95, 103, 113, 121, 131, 139, 149, 157, 167, 175, 185, 193, 203, 211, 221, 229, 239, 247, 257, 265, 275, 283, 293, 301, 311, 319, 329, 337, 347, 355, 365, 373, 383, 391, 401, 409, 419, 427, 437, 445, 455, 463, 473, 481
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(5 + 8*x + 5*x^2) / ((1 - x)^2*(1 + x)).
a(n) = a(n-1) + a(n-2) - a(n-3) for n>3.
a(n) = ((-1)^(1+n) + 18*n - 9) / 2. (End)
E.g.f.: 5 + ((18*x - 9)*exp(x) - exp(-x))/2. - David Lovler, Sep 08 2022
Sum_{n>=1} (-1)^(n+1)/a(n) = tan(2*Pi/9)*Pi/18. - Amiram Eldar, Feb 27 2023
|
|
MATHEMATICA
|
|
|
PROG
|
(GAP) Filtered([1..500], k->k mod 18 = 5 or k mod 18 = 13); # Muniru A Asiru, Nov 24 2018
(PARI) Vec(x*(5 + 8*x + 5*x^2) / ((1 - x)^2*(1 + x)) + O(x^60)) \\ Colin Barker, Oct 25 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Corrected (213 replaced with 211, 231 with 229, 249 with 247, 265 with 267 etc.) by R. J. Mathar, Apr 22 2010
|
|
STATUS
|
approved
|
|
|
|