%I #23 Sep 27 2023 00:54:48
%S 5,11,3,37,21,13,5,3,13,5,3,5,11,3,5,11,5,11,5,3,5,107,91,59,43,27,11,
%T 5,11,669,11,621,13,499,13,451,13,355,13,331,11,213,13,163,11,69,13,
%U 19,13,5,11,3,5,3,5,3,5,3,5,11,5,195,19,157,19,61,19,61,19,3,5,3,13,5,3,5,11
%N Leading terms in rows obtained by repeatedly computing consecutive absolute differences, starting with the squares of prime numbers.
%C In the first million rows, only 70767 leading terms are composite.
%C It is conjectured that for any positive integer n, the number of prime leading elements in the first n rows is greater than the number of composite leading elements (Pe's conjecture).
%C Preliminary investigations have led me to make the following generalization of the Gilbreath's and Pe's conjectures: For a fixed positive integer n, let T(n) be the table of consecutive absolute differences of the n-th powers of primes. Then the number of k-almost prime leading elements, 0 < k < n, is greater than the number of leading elements that are not of this form. Recall that a number is called k-almost prime if the sum of the exponents in its prime factorization equals k. Thus a 0-almost prime equals 1, a 1-almost prime is a prime number and a 2-almost prime is a semiprime. If n = 1, we have a weak form of Gilbreath's conjecture and if n = 2, we have Pe's conjecture.
%C There is a more general conjecture due to Croft and others, mentioned in Guy's book, that the Gilbreath property will hold for any sequence of odd numbers (but with an initial term 2) that does not increase too fast. - _N. J. A. Sloane_, Apr 18 2006
%D R. K. Guy, Unsolved Problems in Number Theory, Section A10.
%D Joseph L. Pe, "On the Absolute Difference Table of Squares of Primes", Journal of Recreational Mathematics 33 (3) (2004/2005) 176-179.
%H Paolo Xausa, <a href="/A117069/b117069.txt">Table of n, a(n) for n = 1..10000</a>
%H Prime Puzzles, <a href="http://www.primepuzzles.net/conjectures/conj_041.htm">Pe's conjecture</a>
%H Joseph L. Pe, <a href="http://numeratus.net/enlightened/psd.html">On the Absolute Difference Table of Squares of Primes</a>
%H <a href="/index/Ge#Gilbreath">Index entries for sequences related to Gilbreath conjecture and transform</a>
%e Start with the sequence of squares of primes:
%e 4, 9, 25, 49, 121, ....
%e Take the absolute values of differences between consecutive terms:
%e 5, 16, 24, 72, ....
%e Repeat this operation successively:
%e 11, 8, 48, ....
%e 3, 40, ....
%e ....
%e a(n) consists of the leading terms of the rows of differences above.
%t A117069[nmax_]:=Module[{d=Prime[Range[nmax+1]]^2},Table[First[d=Abs[Differences[d]]],nmax]];A117069[200] (* _Paolo Xausa_, May 14 2023 *)
%Y Cf. A001248 (1st row), A069482 (2nd row).
%K nonn
%O 1,1
%A _Joseph L. Pe_, Apr 17 2006