login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A167534
a(n) = 79*n - a(n-1) for n>0, a(0)=9.
5
9, 70, 88, 149, 167, 228, 246, 307, 325, 386, 404, 465, 483, 544, 562, 623, 641, 702, 720, 781, 799, 860, 878, 939, 957, 1018, 1036, 1097, 1115, 1176, 1194, 1255, 1273, 1334, 1352, 1413, 1431, 1492, 1510, 1571, 1589, 1650, 1668, 1729, 1747, 1808, 1826
OFFSET
0,1
COMMENTS
Numbers k such that k^2 == 2 (mod 79). - Vincenzo Librandi, Jun 25 2014
FORMULA
G.f.: (9 + 61*x + 9*x^2)/((1 + x)*(1 - x)^2). - Vincenzo Librandi, Jun 06 2014
Sum_{n>=0} (-1)^n/a(n) = cot(9*Pi/79)*Pi/79. - Amiram Eldar, Feb 24 2023
MATHEMATICA
CoefficientList[Series[(9 + 61 x + 9 x^2)/((1 + x) (1 - x)^2), {x, 0, 50}], x] (* Vincenzo Librandi, Jun 06 2014 *)
PROG
(Magma) [(79/4)-(43/4)*(-1)^n+(79/2)*n: n in [0..50]]; // Vincenzo Librandi, Jun 06 2014
CROSSREFS
Sequence in context: A217452 A193706 A275680 * A380133 A110202 A110201
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 06 2009
EXTENSIONS
Edited by N. J. A. Sloane, Jun 23 2010
STATUS
approved