A254324 Least Y such that X^3 + Y^3 = A020898(n)*Z^3 for some X <= Y and some Z.
1, 37, 5, 2, 89, 7, 683
Offset: 1
Examples
A020898(1)=2 and 1^3 + 1^3 = 2*1^3, therefore a(1)=1. A020898(2)=6 and 17^3 + 37^3 = 6*21^3, and there is no "smaller" solution (with X, Y, Z < 37), therefore a(2)=37.
Programs
-
PARI
a(n,L=10^9)={n=if(n>0,A020898[n],-n); for(b=1,L,for(a=1,b,(a^3+b^3)%n&&next;ispower((a^3+b^3)/n,3)&&return(b)))}
Comments