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!)
A046143 Triangle T(n, k) = gcd(2^n-1, 2^k-1), for n>=1 and 1 <= k <= n. 0
1, 1, 3, 1, 1, 7, 1, 3, 1, 15, 1, 1, 1, 1, 31, 1, 3, 7, 3, 1, 63, 1, 1, 1, 1, 1, 1, 127, 1, 3, 1, 15, 1, 3, 1, 255, 1, 1, 7, 1, 1, 7, 1, 1, 511, 1, 3, 1, 3, 31, 3, 1, 3, 1, 1023, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2047, 1, 3, 7, 15, 1, 63, 1, 15, 7, 3, 1, 4095, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
The function T(n,k) = T(k,n) is defined for k > n but only the values for 1 <= k <= n as a triangular array are listed here.
LINKS
Eric Weisstein's World of Mathematics, Greatest Common Divisor
FORMULA
T(n,k) = 2^gcd(n,k)-1.
EXAMPLE
Triangle begins
1;
1, 3;
1, 1, 7;
1, 3, 1, 15;
1, 1, 1, 1, 31;
1, 3, 7, 3, 1, 63;
MATHEMATICA
T[ n_, k_] := If[ n < 1 || k < 1, 0, 2^GCD[ n, k] - 1] (* Michael Somos, Jul 18 2011 *)
PROG
(PARI) {T(n, k) = if( n<1 || k<1, 0, 2^gcd(n, k) - 1)} /* Michael Somos, Jul 18 2011 */
CROSSREFS
Cf. A000012 (first column), A000225 (right diagonal).
Sequence in context: A053193 A348649 A010273 * A228035 A332538 A071812
KEYWORD
nonn,tabl
AUTHOR
EXTENSIONS
Name edited by Michel Marcus, Mar 05 2023
STATUS
approved

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 11 21:20 EDT 2024. Contains 372416 sequences. (Running on oeis4.)