%N Composite numbers which are sandwiched between two numbers having the same unordered canonical form.
%C The average of twin primes is a member.
%H Amiram Eldar, <a href="/A074998/b074998.txt">Table of n, a(n) for n = 1..10000</a>
%e 34 is sandwiched between 33 and 35 which are of the form p*q where p and q are primes.
%p k := 0: for j from 2 to 5000 do if not isprime(j) then a := ifactors(j-1): b := ifactors(j+1): if sort([seq(a[i],i= 1..nops(a))])= sort([seq(b[i],i= 1..nops(b))]) then k := k+1: c[k] := j: fi: fi: od: seq(c[i],i= 1..k);
%Y Cf. A074997, A061715, A074460.
%A _Amarnath Murthy_, Aug 21 2002
%E More terms from _Sascha Kurz_, Aug 22 2002
%E Offset corrected by _Amiram Eldar_, Jan 02 2020