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!)
A120889 Triangle read by rows: T(n,k) = gcd(k,ceiling(n/k)) (1 <= k <= n). 2
1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 3, 2, 1, 2, 1, 1, 2, 3, 2, 1, 2, 1, 1, 1, 1, 3, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 4, 1, 3, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 4, 1, 3, 1, 2, 1, 2, 1, 2, 1, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
EXAMPLE
Triangle starts:
1;
1, 1;
1, 2, 1;
1, 2, 1, 1;
1, 1, 1, 2, 1;
1, 1, 1, 2, 1, 1;
1, 2, 3, 2, 1, 2, 1;
...
MAPLE
T:=proc(n, k) if k<=n then gcd(k, ceil(n/k)) else 0 fi end: for n from 1 to 16 do seq(T(n, k), k=1..n) od; # yields sequence in triangular form # Emeric Deutsch, Jul 26 2006
MATHEMATICA
T[n_, k_] := GCD[k, Ceiling[n/k]];
Table[T[n, k], {n, 1, 16}, {k, 1, n}] // Flatten (* Jean-François Alcover, Feb 10 2021 *)
CROSSREFS
Cf. A120888.
Sequence in context: A354614 A192004 A349671 * A322351 A092523 A120891
KEYWORD
nonn,tabl
AUTHOR
Leroy Quet, Jul 12 2006
EXTENSIONS
More terms from Emeric Deutsch, Jul 26 2006
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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)