OFFSET

1,2

COMMENTS

From Michael De Vlieger, May 18 2017: (Start)

A286941(n) and A279864(n) are subsets of a(n) such that the terms of the rows of each sequence combined and sorted comprise all the terms of a(n).

1 is coprime to all n thus delimits the rows of a(n).

The smallest prime q in row n of a(n) is gpf(primorial(n)) = A006530(A002110(n)) = prime(n) by definition of primorial.

The smallest composite x in row n of a(n) is q^2 = A001248(n).

LINKS

Michael De Vlieger, Table of n, a(n) for n = 1..6839 (rows 1 <= n <= 6).

Eric Weisstein's World of Mathematics, Relatively Prime - Michael De Vlieger, May 18 2017

Seqfan, Formula for the sequence.

FORMULA

a(n) = union(A286941(n), A279864(n)) where n consists of all terms in row n of each sequence. - Michael De Vlieger, May 18 2017

EXAMPLE

The triangle starts:

1, 2;

1, 3, 5;

1, 5, 7, 11, 13, 17, 19, 23, 25, 29

Example1:

To find row n of the irregular triangle A286942, take a running sum for each value in the irregular triangle row n-1 of A286941 with A002110(n-1) b-1 times, where b is the largest prime factor in A002110(n).

For example to find row 3 of A286942: Take a running sum for both 1 and 5 in row n-1 of A286941 with A002110(3-1)=6, 5-1=4 times, where b is the largest prime factor 5 in A002110(3).

Result:

1 5

7 11

13 17

19 23

25 29

Equal to row 3 of A286942: 1, 5, 7, 11, 13, 17, 19, 23, 25, 29.

Example2:

To find row n of the irregular triangle A279864, multiply each value in row n-1 of A286941 with the largest prime factor b in A002110(n).

Example for n=3: b=5.

1*5=5

5*5=25

Example3:

To find row n of the irregular triangle A286941, remove the values that are in row n of the irregular triangle A279864 from the values that are in row n of the irregular triangle A286942.

For n=3.

A286942 row n = 1, 5, 7, 11, 13, 17, 19, 23, 25, 29.

A279864 row n = 5, 25.

MATHEMATICA

Table[Select[Range@ #2, Function[k, CoprimeQ[k, #1]]] & @@ Map[Times @@ # &, {Most@ #, #}] &@ Prime@ Range@ n, {n, 4}] // Flatten (* Michael De Vlieger, May 18 2017 *)

CROSSREFS

KEYWORD

nonn,tabf

AUTHOR

Jamie Morken and Michael De Vlieger, May 16 2017

EXTENSIONS

More terms from Michael De Vlieger, May 18 2017

STATUS

approved