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 A047374 #54 Nov 04 2022 20:14:16 %S A047374 4,5,11,12,18,19,25,26,32,33,39,40,46,47,53,54,60,61,67,68,74,75,81, %T A047374 82,88,89,95,96,102,103,109,110,116,117,123,124,130,131,137,138,144, %U A047374 145,151,152,158,159,165,166,172 %N A047374 Numbers that are congruent to {4, 5} mod 7. %H A047374 Daniel Starodubtsev, <a href="/A047374/b047374.txt">Table of n, a(n) for n = 1..10000</a> %H A047374 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (1,1,-1). %F A047374 G.f.: x*(4 + x + 2*x^2)/((1 + x)*(x - 1)^2). - _R. J. Mathar_, Dec 04 2011 %F A047374 a(n) = -(5/4)*(-1)^n + 7*(n-1)/2 + 11/4. - _Viet Quoc Le Tran_, Jun 14 2014 %F A047374 a(n) = (14*n - 5*(-1)^n - 3)/4. - _David Lovler_, Sep 15 2022 %F A047374 E.g.f.: 2 + ((14*x - 3)*exp(x) - 5*exp(-x))/4. - _David Lovler_, Sep 15 2022 %t A047374 Select[Range[200], MemberQ[{4, 5}, Mod[#, 7]] &] (* _Amiram Eldar_, May 07 2021 *) %o A047374 (PARI) a(n) = (14*n - 5*(-1)^n - 3)/4 \\ _David Lovler_, Sep 15 2022 %Y A047374 Cf. A017029, A017041. %K A047374 nonn,easy %O A047374 1,1 %A A047374 _N. J. A. Sloane_