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-5 of 5 results.

A330809 Triangular numbers having exactly 8 divisors.

Original entry on oeis.org

66, 78, 105, 136, 190, 231, 351, 406, 435, 465, 561, 595, 741, 861, 903, 946, 1378, 1431, 1653, 2211, 2278, 2485, 3081, 3655, 3741, 4371, 4465, 5151, 5253, 5995, 6441, 7021, 7503, 8515, 8911, 9453, 9591, 10011, 10153, 10585, 11026, 12561, 13366, 14878, 15051
Offset: 1

Views

Author

Jon E. Schoenfield, Jan 11 2020

Keywords

Comments

Terms may be categorized as belonging to the following types:
type 1: products of 3 distinct primes p,q,r such that 2*p*q + 1 = r: 78, 406, 465, ... (27108 of the first 100000 terms);
type 2: products of 3 distinct primes p,q,r such that 2*p*q - 1 = r: 66, 190, 435, ... (26848 of the first 100000 terms);
type 3: products of 3 distinct primes p,q,r such that p*q + 1 = 2*r: 231, 561, 1653, ... (23050 of the first 100000 terms);
type 4: products of 3 distinct primes p,q,r such that p*q - 1 = 2*r: 105, 595, 741, ... (22983 of the first 100000 terms);
type 5: products of the cube of a prime p and a distinct prime q such that 2*p^3 + 1 = q: 136, 31375, 3544453, ... (6 of the first 100000 terms);
type 6: products of the cube of a prime p and a distinct prime q such that 2*p^3 - 1 = q: 1431, 1774977571, 12642646591, ... (4 of the first 100000 terms);
type 7: products of the cube of a prime p and a distinct prime q such that p^3 - 1 = 2*q: the only term of this type is 351 = 3^3 * 13.
(No term is a product of the cube of a prime p and a distinct prime q such that p^3 + 1 = 2*q.)

Examples

			Type
(see
cmts)  Initial terms             Notes
-----  ------------------------  -----------------------------
  1    78, 406, 465, ...         p*q*r such that 2*p*q + 1 = r
  2    66, 190, 435, ...         p*q*r such that 2*p*q - 1 = r
  3    231, 561, 1653, ...       p*q*r such that p*q + 1 = 2*r
  4    105, 595, 741, ...        p*q*r such that p*q - 1 = 2*r
  5    136, 31375, 3544453, ...  p^3*q such that 2*p^3 + 1 = q
  6    1431, 1774977571, ...     p^3*q such that 2*p^3 - 1 = q
  7    351 (only)                p^3*q such that p^3 - 1 = 2*q
		

Crossrefs

Intersection of A000217 (triangular numbers) and A030626 (8 divisors).
Cf. A063440 (number of divisors of n-th triangular number), A292989 (triangular numbers having exactly 6 divisors).

Programs

  • Magma
    [k:k in [1..16000]| IsSquare(8*k+1) and NumberOfDivisors(k) eq 8]; // Marius A. Burtea, Jan 12 2020
  • Maple
    select(t -> numtheory:-tau(t) = 8, [seq(i*(i+1)/2, i=1..1000)]); # Robert Israel, Jan 13 2020
  • Mathematica
    Select[PolygonalNumber@ Range[180], DivisorSigma[0, #] == 8 &] (* Michael De Vlieger, Jan 11 2020 *)
  • PARI
    isok(k) = ispolygonal(k, 3) && (numdiv(k) == 8); \\ Michel Marcus, Jan 11 2020
    

A292990 Numbers whose absolute difference from a triangular number is never a prime.

Original entry on oeis.org

351, 561, 780, 990, 1176, 1596, 2016, 2145, 3321, 3741, 4278, 4371, 5565, 6216, 6786, 7503, 7626, 7875, 8256, 10296, 10440, 10731, 11781, 12561, 12880, 13041, 13695, 14196, 14535, 14706, 15576, 16836, 17391, 17955, 18915, 20100, 20503, 20910, 21321, 21528
Offset: 1

Views

Author

Jon E. Schoenfield, Dec 08 2017

Keywords

Comments

This sequence contains no primes (since any prime p has an absolute difference of p from the zeroth triangular number, A000217(0) = 0*(0+1)/2 = 0).
The smallest numbers in this sequence having fewer than 8 divisors are
a(82) = 65341 = A000217(361) = 19^2 * 181,
a(248) = 354061 = A000217(841) = 29^2 * 421,
a(1431) = 6924781 = A000217(3721) = 61^2 * 1861,
a(2021) = 12708361 = A000217(5041) = 71^2 * 2521, and
a(2589) = 19478161 = A000217(6241) = 79^2 * 3121, each of which is a triangular number with exactly 6 divisors (A292989).
Conjectures:
(1) This sequence is a subset of the triangular numbers (A000217).
(2) This sequence includes no semiprimes.

Examples

			The difference d between any triangular number T(k) = k(k+1)/2 and 351 can be factored as (k - 26) * (k + 27)/2 if k is odd, or as (k/2 - 13)*(k + 27) if k is even, so |d| cannot be prime unless |k - 26| and |k + 27|/2 are 1 and a prime, in some order, or |k/2 - 13| and |k + 27| are 1 and a prime, in some order; however,
|k - 26| = 1 would require |k + 27|/2 = 26 or 27 (neither of which is prime),
|k + 27|/2 = 1 would require |k - 26| = 51 or 55 (neither of which is prime),
|k/2 - 13| = 1 would require |k + 27| = 51 or 55 (neither of which is prime), and
|k + 27| = 1 would require |k/2 - 13| = 26 or 27 (neither of which is prime),
so there is no triangular number T(k) such that |T(k) - 351| is prime; thus, 351 is in the sequence.
120 is not in the sequence because |T(13) - 120| = |91 - 120| = 29 is prime.
		

Crossrefs

Cf. A000040 (prime numbers), A000217 (triangular numbers).
Cf. A292989 (triangular numbers having exactly 6 divisors).

A331234 Triangular numbers having exactly 9 divisors.

Original entry on oeis.org

36, 1225, 1413721, 7885505171090778556470578126753302097454601, 67594562493730400324395236678194231988753004665644702944024074038452164931450549832074201
Offset: 1

Views

Author

Jon E. Schoenfield, Jan 12 2020

Keywords

Comments

Any number having an odd number of divisors is a square, so each term in this sequence is a term of A001110 (numbers that are both triangular and square). Since A001110(k) = (A000129(k)*A001333(k))^2, A001110(k) will have exactly 9 divisors iff A000129(k) and A001333(k) are both prime (i.e., k is in both A096650 and A099088); the first 5 values of k at which this occurs are 2, 3, 5, 29, and 59.
Conjecture: a(5) is the final term of this sequence.

Examples

			Writing the k-th triangular number A000217(k) as T(k):
a(1) = T(8) = 8*9/2 = 36 = 2^2 * 3^2;
a(2) = T(49) = 49*50/2 = 1225 = 5^2 * 7^2;
a(3) = T(1681) = 1681*1682/2 = 1413721 = 29^2 * 41^2.
Factorization of larger known terms:
a(4) = 44560482149^2 * 63018038201^2;
a(5) = 13558774610046711780701^2 * 19175002942688032928599^2.
		

Crossrefs

Intersection of A000217 (triangular numbers) and A030627 (numbers with exactly 9 divisors).
Triangular numbers having exactly k divisors: A068443 (k=4), A292989 (k=6), A330809 (k=8).
Cf. A063440 (number of divisors of n-th triangular number), A242585 (number of divisors of the n-th positive number that is both triangular and square).

A340865 Primes p such that (p^2 + 1)/2 and 2*p^2 - 1 are also prime.

Original entry on oeis.org

3, 11, 59, 181, 199, 379, 409, 571, 739, 1039, 1439, 2239, 2269, 2351, 2381, 2671, 2719, 2789, 3049, 3529, 4021, 4201, 4721, 4999, 5431, 5531, 5839, 6329, 6619, 8329, 9241, 9419, 9631, 9689, 10151, 11329, 11551, 12071, 12421, 13339, 14489, 15091, 17419, 18301
Offset: 1

Views

Author

Jon E. Schoenfield, Jan 24 2021

Keywords

Comments

Intersection of A048161 and A106483.
How many triangular numbers with 6 divisors (A292989) can be divisible by the same squared prime p^2?
The k-th triangular number T(k) = A000217(k) = k*(k+1)/2 can be written as the product of two coprime factors A and B where A=k and B=(k+1)/2 for odd k, A=k/2 and B=k+1 for even k. If a triangular number has 6 divisors, then it is of the form p^2*q where p and q are distinct primes. We can identify four cases:
Case 1: A = k = p^2 and B = (k+1)/2 = q, so q = (p^2 + 1)/2; solutions occur at primes p in A048161.
Case 2: A = k = q and B = (k+1)/2 = p^2, so 2*p^2 - 1 = q; solutions occur at primes p in A106483.
Case 3: A = k/2 = p^2 and B = k+1 = q. In this case, 2*p^2 + 1 = q. For p = 2, we would get q = 9 (nonprime), so p must be odd. If prime p > 3 (so q > 19), we have p^2 == 1 (mod 3), so q == 0 (mod 3), hence nonprime. So the only solution for this case occurs at p=3, q=19, t = 3^2*19 = 171.
Case 4: A = k/2 = q and B = k+1 = p^2. In this case, 2*q + 1 = p^2, so p is odd, but then p^2 == 1 (mod 8), so q == 0 (mod 4), hence q is not prime: no solutions exist.
Since Case 4 has no solutions, at most three triangular numbers with 6 divisors can be divisible by the same squared prime p^2; Case 3 has a solution only at p=3 and, in fact, there are three triangular numbers with 6 divisors that are divisible by 3^2: t = 3^2*5 = 45 = T(9), t = 3^2*17 = 153 = T(17), and 3^2*19 = 171 = T(18).
For all primes p > 3, then, at most two triangular numbers with 6 divisors are divisible by p^2; this sequence (after the initial term, 3) lists the primes p such that p^2 divides exactly two triangular numbers that have 6 divisors.

Examples

			Both (3^2 + 1)/2 = 5 and 2*3^2 - 1 = 17 are prime, so 3 is in the sequence.
(5^2 + 1)/2 = 13 is prime, but 2*5^2 - 1 = 49 = 7^2 is not prime, so 5 is not in the sequence.
(7^2 + 1)/2 = 25 is not prime, so even though 2*7^2 - 1 = 97 is prime, 7 is not in the sequence.
Neither (23^2 + 1)/2 = 265 = 5*53 nor 2*23^2 - 1 = 1057 = 7*151 is prime, so 23 is not in the sequence.
		

Crossrefs

Programs

  • PARI
    isok(p) = (p>2) && isprime(p) && isprime((p^2+1)/2) && isprime(2*p^2-1); \\ Michel Marcus, Jan 25 2021

A323747 Smallest triangular number whose number of divisors is the n-th triangular number, or 0 if no such number exists.

Original entry on oeis.org

1, 0, 28, 496, 1631432881, 0, 8256, 2016, 41616, 0, 169878528, 2717872128, 0
Offset: 1

Views

Author

Jon E. Schoenfield, May 25 2019

Keywords

Comments

Additional known terms include a(15)=270480, a(16)=77309214720, a(19)=117261433825538425475625, a(20)=7874496, a(22)=0, a(23)=316659361382400, a(24)=100472400, a(25)=0, a(27)=18951806016, a(28)=35184372088827805696000000, a(31)=20752587086144471040, a(32)=3877678080.
It is known (see the comments and links at A081978) that a(n)=0 for every n such that n*(n+1)/2 is an odd composite not divisible by 3; this includes n = 10, 13, 22, 25, ..., i.e., all n such that n mod 12 is 1 or 10.
Conjectures:
1. a(n) > 0 for every n such that n*(n+1)/2 is even.
2. a(n) = 0 for every n such that n*(n+1)/2 is odd except n = 1, 5, and 9 (whose corresponding values of n*(n+1)/2 are 1, 15, and 45, respectively). Can this be proved for any of the values of n in {14, 17, 18, 21, 26, 29, 30}?

Examples

			a(1) = 1 because 1 is the only triangular number having A000217(1)=1 divisors.
a(2) = 0 because no triangular number has A000217(2)=3 divisors. (Each number with 3 divisors is the square of a prime, and no such number can be of the form k*(k+1)/2.)
a(3) = 28 because 28 = 7*(7+1)/2 = 2^2 * 7 is the smallest triangular number with A000217(3)=6 divisors.
a(5) = 1631432881 = 13^4 * 239^2 is the only triangular with A000217(5)=15 divisors.
		

Crossrefs

Extensions

a(6)-a(13) and updated comments from Jon E. Schoenfield, Jan 29 2021
Showing 1-5 of 5 results.