%I #10 Jun 26 2022 09:15:10
%S 2,3,5,2,7,11,3,2,5,13,17,19,23,7,3,2,5,11,29,31,13,7,3,2,2,3,5,11,17,
%T 37,41,19,43,47,53,59,23,13,29,61,67,31,17,7,5,3,2,5,7,11,19,37,71,73,
%U 41,23,13,11,7,3,2,2,3,5,11,13,17,29,43,79
%N Variant of A253028 using only prime numbers.
%C See the examples in A253028 for a detailed illustration of how the array is constructed:
%C - the n-th term gives the length of the n-th row.
%C - if you remove the eventual leading and trailing term in each row, you get the prime numbers, in natural order,
%C - repeating this procedure with the remaining terms always yields the prime numbers, in natural order.
%H Rémy Sigrist, <a href="/A355091/b355091.txt">Table of n, a(n) for n = 1..10022</a>
%H Rémy Sigrist, <a href="/A355091/a355091.gp.txt">PARI program</a>
%e The first terms / rows are:
%e n a(n) n-th row
%e -- ---- ------------------------------------------------------------
%e 1 2 2, 3
%e 2 3 5, 2, 7
%e 3 5 11, 3, 2, 5, 13
%e 4 2 17, 19
%e 5 7 23, 7, 3, 2, 5, 11, 29
%e 6 11 31, 13, 7, 3, 2, 2, 3, 5, 11, 17, 37
%e 7 3 41, 19, 43
%e 8 2 47, 53
%e 9 5 59, 23, 13, 29, 61
%e 10 13 67, 31, 17, 7, 5, 3, 2, 5, 7, 11, 19, 37, 71
%e 11 17 73, 41, 23, 13, 11, 7, 3, 2, 2, 3, 5, 11, 13, 17, 29, 43, 79
%o (PARI) See Links section.
%Y Cf. A253028, A354576, A354577.
%K nonn,tabf
%O 1,1
%A _Rémy Sigrist_, Jun 19 2022