OFFSET
1,1
COMMENTS
The sequence is infinite.
There are an infinite number of term pairs (a(k), a(k + 1)) that are consecutive numbers. Indeed, if p is a prime number, then 9 + p^2 and 10 + p^2 are terms. Also, numbers 14 + p^2 and 15 + p^2 are terms.
There are also larger sequences of consecutive numbers that are terms. For example, the 21 consecutive numbers 780, 781, ..., 800 or 4184, 4185, ..., 4204 are terms.
EXAMPLE
MATHEMATICA
m = 200; brils = Select[Range[m], (f = FactorInteger[#])[[;; , 2]] == {2} || f[[;; , 2]] == {1, 1} && Equal @@ IntegerLength@f[[;; , 1]] &]; Select[Range[m], Length[IntegerPartitions[#, {2}, brils]] > 0 &] (* Amiram Eldar, Dec 06 2020 *)
PROG
(Magma) f:=Factorization; br:=func<n|#Divisors(n) eq 3 or &+[d[2]:d in f(n)] eq 2 and #Intseq(f(n)[1][1]) eq #Intseq(f(n)[2][1])>; [k:k in [4..200]|exists(i){m:m in [4..k-4]|br(m) and br(k-m)}];
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Marius A. Burtea, Dec 06 2020
STATUS
approved