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!)
A277647 Triangle T(n,k) = floor(n/sqrt(k)) for 1 <= k <= n^2, read by rows. 11
1, 2, 1, 1, 1, 3, 2, 1, 1, 1, 1, 1, 1, 1, 4, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 4, 3, 3, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 4, 4, 3, 3, 2, 2, 2, 2, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
T(n,k) = A000196(A277646(n,k)).
T(n,k)sqrt(k) <= n < (T(n,k)+1)sqrt(k).
EXAMPLE
The first five rows of the triangle are:
1;
2, 1, 1, 1;
3, 2, 1, 1, 1, 1, 1, 1, 1;
4, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1;
5, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1;
MATHEMATICA
Table[Floor[n/Sqrt@ k], {n, 7}, {k, n^2}] // Flatten (* Michael De Vlieger, Nov 24 2016 *)
PROG
(Magma)
A277647:=func<n, k|Isqrt(n^2 div k)>;
[A277647(n, k):k in[1..n^2], n in[1..7]];
(PARI) row(n) = for(k=1, n^2, print1(floor(n/sqrt(k)), ", ")); print("")
trianglerows(n) = for(k=1, n, row(k))
/* Print initial five rows of triangle as follows: */
trianglerows(5) \\ Felix Fröhlich, Nov 12 2016
CROSSREFS
The 1000th row is A033432.
Sequence in context: A145037 A267115 A328919 * A296134 A306694 A158052
KEYWORD
nonn,tabf,easy
AUTHOR
Jason Kimberley, Nov 09 2016
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 27 10:59 EDT 2024. Contains 372018 sequences. (Running on oeis4.)