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 A057428 #32 Feb 19 2024 10:28:50 %S A057428 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, %T A057428 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, %U A057428 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 %N A057428 Sign(-n): a(n) = 1 if -n > 0, = -1 if -n < 0, = 0 if n = 0. %H A057428 <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (1). %F A057428 G.f.: A(x) = -x/(1-x). %F A057428 a(n) = -A057427(n). %F A057428 Series reversion of g.f. A(x) is A(A(x)). - _Nikolaos Pantelidis_, Apr 13 2022 %t A057428 Table[Sign[-n], {n, 0, 80}] (* _Arkadiusz Wesolowski_, Sep 16 2012 *) %o A057428 (PARI) a(n) = sign(-n); \\ _Michel Marcus_, Apr 13 2022 %Y A057428 First differences of A001489. %Y A057428 Cf. A057427. %K A057428 easy,sign %O A057428 0,1 %A A057428 _Henry Bottomley_, Sep 05 2000