The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A127449 Triangle T(n,k) = n if gcd(n,k)=1, =0 otherwise. 0
1, 2, 0, 3, 3, 0, 4, 0, 4, 0, 5, 5, 5, 5, 0, 6, 0, 0, 0, 6, 0, 7, 7, 7, 7, 7, 7, 0, 8, 0, 8, 0, 8, 0, 8, 0, 9, 9, 0, 9, 9, 0, 9, 9, 0, 10, 0, 10, 0, 0, 0, 10, 0, 10, 0 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
T(n,k) = n *A054521(n,k), 1<=k<=n.
EXAMPLE
First few rows of the triangle are:
1;
2, 0;
3, 3, 0;
4, 0, 4, 0;
5, 5, 5, 5, 0;
6, 0, 0, 0, 6, 0;
7, 7, 7, 7, 7, 7, 0;
...
MATHEMATICA
Table[If[GCD[n, k]==1, n, 0], {n, 10}, {k, n}]//Flatten (* Harvey P. Dale, Aug 12 2021 *)
CROSSREFS
Cf. A002618 (row sums), A054521.
Sequence in context: A088276 A099838 A369280 * A328911 A138057 A053727
KEYWORD
nonn,tabl,easy
AUTHOR
Gary W. Adamson, Jan 14 2007
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 29 10:54 EDT 2024. Contains 372938 sequences. (Running on oeis4.)