login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A050873 Triangular array T read by rows: T(n,k) = gcd(n,k). 44

%I #57 Aug 21 2017 22:49:29

%S 1,1,2,1,1,3,1,2,1,4,1,1,1,1,5,1,2,3,2,1,6,1,1,1,1,1,1,7,1,2,1,4,1,2,

%T 1,8,1,1,3,1,1,3,1,1,9,1,2,1,2,5,2,1,2,1,10,1,1,1,1,1,1,1,1,1,1,11,1,

%U 2,3,4,1,6,1,4,3,2,1,12,1,1,1,1,1,1,1,1,1,1

%N Triangular array T read by rows: T(n,k) = gcd(n,k).

%C The function T(n,k) = T(k,n) is defined for all integer k,n but only the values for 1 <= k <= n as a triangular array are listed here.

%C For each divisor d of n, the number of d's in row n is phi(n/d). Furthermore, if {a_1, a_2, ..., a_phi(n/d)} is the set of positive integers <= n/d that are relatively prime to n/d then T(n,a_i * d) = d. - _Geoffrey Critzer_, Feb 22 2015

%C Starting with any row n and working downwards, consider the infinite rectangular array with k = 1..n. A repeating pattern occurs every A003418(n) rows. For example, n=3: A003418(3) = 6. The 6-row pattern starting with row 3 is {1,1,3}, {1,2,1}, {1,1,1}, {1,2,3}, {1,1,1}, {1,2,1}, and this pattern repeats every 6 rows, i.e., starting with rows {9,15,21,27,...}. - _Bob Selcoe_ and _Jamie Morken_, Aug 02 2017

%H T. D. Noe, <a href="/A050873/b050873.txt">Rows n=1..100, flattened</a>

%H Marcelo Polezzi, <a href="http://www.jstor.org/stable/2974739">A Geometrical Method for Finding an Explicit Formula for the Greatest Common Divisor</a>, The American Mathematical Monthly, Vol. 104, No. 5 (May, 1997), pp. 445-446.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/GreatestCommonDivisor.html">Greatest Common Divisor</a>

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Greatest_common_divisor">Greatest Common Divisor</a>

%F a(n) = gcd(A002260(n), A002024(n)); A054521(n) = A000007(a(n)). - _Reinhard Zumkeller_, Dec 02 2009

%F T(n,k) = A075362(n,k)/A051173(n,k), 1 <= k <= n. - _Reinhard Zumkeller_, Apr 25 2011

%F T(n, k) = T(k, n) = T(-n, k) = T(n, -k) = T(n, n+k) = T(n+k, k). - _Michael Somos_, Jul 18 2011

%F T(n,k) = A051173(n,k) / A051537(n,k). - _Reinhard Zumkeller_, Jul 07 2013

%e Rows:

%e 1;

%e 1, 2;

%e 1, 1, 3;

%e 1, 2, 1, 4;

%e 1, 1, 1, 1, 5;

%e 1, 2, 3, 2, 1, 6; ...

%t ColumnForm[Table[GCD[n, k], {k, 12}, {n, k}], Center] (* _Alonso del Arte_, Jan 14 2011 *)

%o (PARI) {T(n, k) = gcd(n, k)} /* _Michael Somos_, Jul 18 2011 */

%o (Haskell)

%o a050873 = gcd

%o a050873_row n = a050873_tabl !! (n-1)

%o a050873_tabl = zipWith (map . gcd ) [1..] a002260_tabl

%o -- _Reinhard Zumkeller_, Dec 12 2015, Aug 13 2013, Jun 10 2013

%Y Cf. A003989.

%Y Cf. A002262, A054531, A226314.

%Y Cf. A018804 (row sums), A245717.

%Y Cf. A132442 (sums of divisors).

%Y Cf. A003418.

%K nonn,tabl,look

%O 1,3

%A _Clark Kimberling_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 12 05:37 EDT 2024. Contains 372431 sequences. (Running on oeis4.)