cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A162348 List of pairs (i,j) of central factors of n, such that i*j = n, where i is the largest divisor of n <= sqrt(n) and j is the smallest divisor of n >= sqrt(n).

Original entry on oeis.org

1, 1, 1, 2, 1, 3, 2, 2, 1, 5, 2, 3, 1, 7, 2, 4, 3, 3, 2, 5, 1, 11, 3, 4, 1, 13, 2, 7, 3, 5, 4, 4, 1, 17, 3, 6, 1, 19, 4, 5, 3, 7, 2, 11, 1, 23, 4, 6, 5, 5, 2, 13, 3, 9, 4, 7, 1, 29, 5, 6, 1, 31, 4, 8, 3, 11, 2, 17, 5, 7, 6, 6, 1, 37, 2, 19, 3, 13, 5, 8, 1, 41, 6, 7, 1, 43, 4, 11, 5, 9, 2, 23, 1, 47, 6, 8, 7
Offset: 1

Views

Author

Omar E. Pol, Jul 04 2009

Keywords

Comments

Note that if n is a square then the square root of n appears repeated: i = j = sqrt(n).
Squarest (least oblong) integral rectangle with area n. This has minimal semiperimeter (A063655), since s = i + j = i + n/i is minimal when ds/di = 1 - n/i^2 = 0, i.e., n = i^2. - Daniel Forgues, Sep 29 2014

Crossrefs

Programs

  • Mathematica
    f[n_] := Block[{d = Divisors@n}, len = Length[d]/2; {d[[Ceiling@len]], d[[Floor[len + 1]] ]}]; f[1] = {1, 1}; Array[f, 49] // Flatten (* Robert G. Wilson v, Aug 17 2009 *)

Extensions

a(35) and further terms from Robert G. Wilson v, Aug 17 2009; corrected Aug 18 2009

A162192 Triangle read by rows in which row n lists the divisors of n, prime(n), the consecutive composites that are greater than prime(n), and prime (n+1), but row 0 is formed by 1 and 2.

Original entry on oeis.org

1, 2, 1, 2, 3, 1, 2, 3, 4, 5, 1, 3, 5, 6, 7, 1, 2, 4, 7, 8, 9, 10, 11, 1, 5, 11, 12, 13, 1, 2, 3, 6, 13, 14, 15, 16, 17, 1, 7, 17, 18, 19, 1, 2, 4, 8, 19, 20, 21, 22, 23, 1, 3, 9, 23, 24, 25, 26, 27, 28, 29, 1, 2, 5, 10, 29, 30, 31
Offset: 0

Views

Author

Omar E. Pol, Jun 30 2009

Keywords

Comments

See also A162190, a sequence with a similar structure.

Examples

			Triangle begins:
1,(2);
1,(2),(3);
1,.2.,(3),4,(5);
1,.....3,...(5),6,(7);
1,.2,.....4,......(7),8,.9,10,(11);
1,...........5,...............(11),12,(13);
1,.2,..3,.......6,....................(13),14,15,16,(17);
1,.................7,...............................(17),18,(19);
1,.2,.....4,..........8,....................................(19),20,21,22,(23);
		

Crossrefs

Showing 1-2 of 2 results.