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.

A361980 a(n) is the n-th decimal digit of p(n)/q(n) where p(n) = A002260(n) and q(n) = A004736(n).

This page as a plain text file.
%I A361980 #52 Apr 22 2023 21:48:35
%S A361980 1,5,0,3,0,0,0,6,0,0,0,0,0,0,0,6,0,0,3,0,0,2,3,0,0,6,0,0,0,1,0,0,0,0,
%T A361980 0,0,1,0,2,6,0,0,3,0,0,0,2,0,8,3,0,0,6,0,0,0,0,3,0,8,0,0,0,0,0,0,3,1,
%U A361980 0,4,0,4,6,0,0,3,0,0,3,6,7,0,5,0,0,3,0,0,6,0,0,5,5,0,6,0,6,0,4,0,0,0,0,0,0,6
%N A361980 a(n) is the n-th decimal digit of p(n)/q(n) where p(n) = A002260(n) and q(n) = A004736(n).
%C A361980 Decimal digit positions are numbered 1 for the units, 2 for immediately after the decimal point, and so on.
%C A361980 This sequence can be interpreted as the decimal digits of a constant 1.5030006...
%C A361980 This constant shares an infinite number of decimal digits with any given rational r. This is since p,q go through all pairs of integers >= 1 and so p(n)/q(n) = r for infinitely many n.
%C A361980 This constant is irrational.
%e A361980 p(1) = 1, q(1) = 1, p/q = 1/1 = 1,  a(1) = 1.
%e A361980 p(2) = 1, q(2) = 2, p/q = 1/2 = 0.5, a(2) = 5.
%e A361980 p(3) = 2, q(3) = 1, p/q = 2/1 = 2.00, a(3) = 0.
%e A361980 p(4) = 1, q(4) = 3, p/q = 1/3 = 0.333..., a(4) = 3.
%o A361980 (PARI) p(n) = n-binomial(floor(1/2+sqrt(2*n)), 2); \\ A002260
%o A361980 q(n) = binomial( floor(3/2 + sqrt(2*n)), 2) - n + 1; \\ A004736
%o A361980 a(n) = my(r = p(n)/q(n)); floor(r*10^(n-1)) % 10; \\ _Michel Marcus_, Apr 05 2023
%Y A361980 Cf. A002260, A004736, A061480.
%K A361980 base,cons,easy,nonn
%O A361980 1,2
%A A361980 _Jesiah Darnell_, Apr 01 2023