This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A047355 #47 Sep 01 2022 19:47:53 %S A047355 0,3,7,10,14,17,21,24,28,31,35,38,42,45,49,52,56,59,63,66,70,73,77,80, %T A047355 84,87,91,94,98,101,105,108,112,115,119,122,126,129,133,136,140,143, %U A047355 147,150,154,157,161,164,168,171,175,178,182,185,189,192,196,199,203 %N A047355 Numbers that are congruent to {0, 3} mod 7. %C A047355 Numbers k such that k^2/7 + k*(k + 1)/7 = k*(2*k + 1)/7 is a nonnegative integer. - _Bruno Berselli_, Feb 14 2017 %H A047355 David Lovler, <a href="/A047355/b047355.txt">Table of n, a(n) for n = 1..1000</a> %H A047355 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (1,1,-1). %F A047355 a(n) = a(n-2) + 7 = a(n-1) + a(n-2) - a(n-3). - _Henry Bottomley_, Jan 19 2001 %F A047355 From _Bruno Berselli_, Sep 12 2011: (Start) %F A047355 G.f.: x^2*(3 + 4*x)/((1 + x)*(1 - x)^2). %F A047355 a(n) = (14*n - (-1)^n - 15)/4. (End) %F A047355 a(n+1) = Sum_{k>=0} A030308(n,k)*A125176(k+2). - _Philippe Deléham_, Oct 17 2011 %F A047355 a(n) = 2*n - 2 + floor((3*n - 3)/2). - _Wesley Ivan Hurt_, Jan 30 2014 %F A047355 E.g.f.: 4 + ((14*x - 15)*exp(x) - exp(-x))/4. - _David Lovler_, Aug 31 2022 %p A047355 A047355:=n->(14*n - (-1)^n - 15)/4; seq(A047355(n), n=1..100); # _Wesley Ivan Hurt_, Jan 30 2014 %t A047355 Table[(14n - (-1)^n - 15)/4, {n, 100}] (* _Wesley Ivan Hurt_, Jan 30 2014 *) %o A047355 (Haskell) %o A047355 a047355 n = a047355_list !! (n-1) %o A047355 a047355_list = scanl (+) 0 a010702_list -- _Reinhard Zumkeller_, Jul 05 2012 %o A047355 (PARI) a(n)=n\2*7 - 4 + n%2*4 \\ _Charles R Greathouse IV_, Aug 01 2016 %Y A047355 Cf. A030123, A010702 (first differences). %Y A047355 Cf. A030308, A125176. %K A047355 nonn,easy %O A047355 1,2 %A A047355 _N. J. A. Sloane_