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.

A333295 Triangle read by rows: T(m,n) = Sum_{1 <= i <= m, 1 <= j <= n, gcd{i,j}=1} 1, where m >= n >= 1.

This page as a plain text file.
%I A333295 #8 Mar 25 2020 11:44:11
%S A333295 1,2,3,3,5,7,4,6,9,11,5,8,12,15,19,6,9,13,16,21,23,7,11,16,20,26,29,
%T A333295 35,8,12,18,22,29,32,39,43,9,14,20,25,33,36,44,49,55,10,15,22,27,35,
%U A333295 38,47,52,59,63,11,17,25,31,40,44,54,60,68,73,83,12,18,26,32,42,46,57,63,71,76,87,91
%N A333295 Triangle read by rows: T(m,n) = Sum_{1 <= i <= m, 1 <= j <= n, gcd{i,j}=1} 1, where m >= n >= 1.
%C A333295 This is the same triangle as A331781, except the initial row and column of 0's is missing.
%e A333295 Triangle begins:
%e A333295 1,
%e A333295 2, 3,
%e A333295 3, 5, 7,
%e A333295 4, 6, 9, 11,
%e A333295 5, 8, 12, 15, 19,
%e A333295 6, 9, 13, 16, 21, 23,
%e A333295 7, 11, 16, 20, 26, 29, 35,
%e A333295 8, 12, 18, 22, 29, 32, 39, 43,
%e A333295 9, 14, 20, 25, 33, 36, 44, 49, 55,
%e A333295 10, 15, 22, 27, 35, 38, 47, 52, 59, 63,
%e A333295 11, 17, 25, 31, 40, 44, 54, 60, 68, 73, 83,
%e A333295 12, 18, 26, 32, 42, 46, 57, 63, 71, 76, 87, 91,
%e A333295 ...
%p A333295 V0 := proc(m,n) local a,i,j; a:=0;
%p A333295 for i from 1 to m do for j from 1 to n do
%p A333295 if igcd(i,j)=1 then a:=a+1; fi; od: od: a; end;
%p A333295 for m from 1 to 14 do lprint([seq(V0(m,n),n=1..m)]); od:
%Y A333295 Cf. A331781. Main diagonal is A018805.
%K A333295 nonn,tabl
%O A333295 1,2
%A A333295 _N. J. A. Sloane_, Mar 24 2020