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.

A021078 Decimal expansion of 1/74.

This page as a plain text file.
%I A021078 #15 Jul 13 2025 11:28:44
%S A021078 0,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,
%T A021078 1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,
%U A021078 3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5,1,3,5
%N A021078 Decimal expansion of 1/74.
%H A021078 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,1).
%F A021078 a(n) = (2n-1) mod 6, for n > 0. - _Wesley Ivan Hurt_, Apr 23 2014
%p A021078 a:= n-> `if`(n=0, 0, irem(2*n-1, 6)): seq(a(n), n=0..99); # _Zerinvary Lajos_, Nov 30 2006
%t A021078 Table[Mod[2 n - 1, 6] - 5 Floor[1/(n+1)], {n, 0, 100}] (* _Wesley Ivan Hurt_, Apr 23 2014 *)
%K A021078 nonn,easy,cons
%O A021078 0,3
%A A021078 _N. J. A. Sloane_, Dec 11 1996