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.

A021796 Decimal expansion of 1/792.

This page as a plain text file.
%I A021796 #12 Jul 08 2025 08:56:11
%S A021796 0,0,1,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,
%T A021796 6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,
%U A021796 6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6
%N A021796 Decimal expansion of 1/792.
%H A021796 Antti Karttunen, <a href="/A021796/b021796.txt">Table of n, a(n) for n = 0..1001</a>
%H A021796 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0,1).
%o A021796 (Scheme) (define (A021796 n) (cond ((<= n 1) 0) ((= 2 n) 1) ((even? n) 6) (else 2))) ;; _Antti Karttunen_, Sep 14 2017
%Y A021796 Cf. A021444.
%K A021796 nonn,cons
%O A021796 0,4
%A A021796 _N. J. A. Sloane_