You mean (a to the n plus b to the n+1) -1 ?
No. Unless I misunderstand you entirely, which given my appreciation of Maths is highly likely
perl -le '$n=3;for ($i=0; $i<30; $i+=2) { print "a=$i,","b=",$i+1, " "; $s=($i**$n+($i**($n+1)))-1; print $s, " ", fact($s);} sub fact {my $s=shift; for (2..$s-1) { push @f,$_ if int($s/$_)==$s/$_; } print "@f";}'
Sorry my factor finder doesn't use a sieve