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

A324793 Numbers k such that A000793(k) = A159685(k).

Original entry on oeis.org

1, 2, 3, 5, 6, 8, 10, 11, 15, 17, 18, 28, 41, 58, 77
Offset: 1

Views

Author

N. J. A. Sloane, Sep 05 2019

Keywords

Comments

This is the complete list of numbers n such that g(n) = h(n), in the notation of Deléglise-Nicolas (2019).

Crossrefs

A214096 Smallest m such that prime(i) + prime(i-1) < prime(2*i-n) for all i>=m.

Original entry on oeis.org

3, 4, 7, 8, 18, 19, 27, 28, 36, 39, 50, 50, 53, 70, 71, 72, 77, 85, 105, 105, 106, 108, 110, 111, 114, 143, 144, 144, 149, 149, 153, 161, 165, 172, 173, 173, 226, 228, 228, 229, 231, 232, 236, 237, 238, 245, 245, 246, 248, 300, 300, 301, 302, 303, 315, 315
Offset: 1

Views

Author

Jonathan Vos Post, Jul 04 2012

Keywords

Comments

Formula given in Deléglise and Nicolas, Lemma 2.4, p.6. A002809 and A159685 are given explicitly on p.2. Additional values given: a(3675) = 33127.

Crossrefs

Programs

  • Mathematica
    a[1] = 3;
    a[n_] := a[n] = Module[{}, For[m = a[n-1], True, m++, If[AllTrue[Range[m, 2 m], Prime[#] + Prime[# - 1] < Prime[2# - n]&], Return[m]]]];
    Table[Print[n, " ", a[n]]; a[n], {n, 1, 100}] (* Jean-François Alcover, Nov 27 2018 *)

Formula

a(n) is minimal such that prime(i) + prime(i-1) < prime(2*i-n) for i >= a(n).

Extensions

More terms from Alois P. Heinz, Jul 07 2012

A355572 Largest LCM of partitions of n into odd parts.

Original entry on oeis.org

1, 1, 3, 3, 5, 5, 7, 15, 15, 21, 21, 35, 35, 45, 105, 105, 105, 105, 165, 165, 315, 315, 385, 385, 495, 1155, 1155, 1365, 1365, 1365, 1365, 3465, 3465, 4095, 4095, 5005, 5005, 6435, 15015, 15015, 15015, 15015, 19635, 19635, 45045, 45045, 45045, 45045, 58905, 58905, 69615, 69615
Offset: 1

Views

Author

Torsten Muetze, Jul 07 2022

Keywords

Comments

The largest LCM is attained for a partition of n into powers of distinct odd primes and 1's.

Examples

			The partitions of n=8 into odd parts are 7+1, 5+3, 5+1+1+1, 3+3+1+1, 3+1+1+1+1+1, 1+1+1+1+1+1+1+1, and the partition with largest LCM among those is 5+3, which has LCM(5,3)=5*3=15, so a(8)=15.
		

Crossrefs

Programs

  • PARI
    a(n) = my(x=1); forpart(p=n, if (!#select(x->((x%2)==0), Vec(p)), x = max(x, lcm(Vec(p))))); x; \\ Michel Marcus, Jul 08 2022

A355573 Largest LCM of partitions of n with a nonzero even number of even parts.

Original entry on oeis.org

2, 2, 4, 6, 6, 12, 12, 20, 30, 30, 60, 60, 84, 84, 140, 210, 210, 420, 420, 420, 420, 840, 840, 1260, 1260, 1540, 2310, 2520, 4620, 4620, 5460, 5460, 9240, 9240, 13860, 13860, 16380, 16380, 27720, 30030, 32760, 60060, 60060, 60060, 60060, 120120, 120120, 180180, 180180, 180180, 180180
Offset: 4

Views

Author

Torsten Muetze, Jul 07 2022

Keywords

Comments

The largest LCM is attained for a partition of n into powers of distinct odd primes, 2^k for some k>0, 2, and 1's.

Examples

			The partitions of n=8 with a nonzero even number of even parts are 6+2, 4+4, 4+2+1+1, 3+2+2+1, 2+2+2+2, 2+2+1+1+1+1, and the partition with largest LCM among those is 3+2+2+1, which has LCM(3,2,2,1)=3*2=6, so a(8)=6.
		

Crossrefs

Showing 1-4 of 4 results.