cp's OEIS Frontend

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.

A047607 Numbers that are congruent to {0, 1, 2, 3, 5} mod 8.

This page as a plain text file.
%I A047607 #34 Apr 03 2025 14:04:45
%S A047607 0,1,2,3,5,8,9,10,11,13,16,17,18,19,21,24,25,26,27,29,32,33,34,35,37,
%T A047607 40,41,42,43,45,48,49,50,51,53,56,57,58,59,61,64,65,66,67,69,72,73,74,
%U A047607 75,77,80,81,82,83,85,88,89
%N A047607 Numbers that are congruent to {0, 1, 2, 3, 5} mod 8.
%H A047607 <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (1,0,0,0,1,-1).
%F A047607 G.f.: x^2*(3*x^4 + 2*x^3 + x^2 + x + 1)/((x-1)^2*(x^4 + x^3 + x^2 + x + 1)). [_Colin Barker_, Jul 02 2012]
%t A047607 Flatten[Table[8n + {0, 1, 2, 3, 5}, {n, 0, 15}]] (* _Alonso del Arte_, Jan 13 2014 *)
%t A047607 LinearRecurrence[{1,0,0,0,1,-1},{0,1,2,3,5,8},80] (* _Harvey P. Dale_, Apr 03 2025 *)
%o A047607 (PARI) a(n)=(n-1)\5<<3+(n-1)%5+(n%5==0) \\ _Charles R Greathouse IV_, Sep 06 2011
%K A047607 nonn,easy
%O A047607 1,3
%A A047607 _N. J. A. Sloane_