Main.java:14: error: incompatible types: BigInteger cannot be converted to int
a[i]=a[(i.subtract(BigInteger.ONE))].multiply(i);
^
Main.java:14: error: incompatible types: BigInteger cannot be converted to int
a[i]=a[(i.subtract(BigInteger.ONE))].multiply(i);
^
Main.java:27: error: incompatible types: BigInteger cannot be converted to int
sum=sum.add(a[v].divide(a[(v.subtract(j))].multiply(a[j])));
^
Main.java:27: error: incompatible types: BigInteger cannot be converted to int
sum=sum.add(a[v].divide(a[(v.subtract(j))].multiply(a[j])));
^
Main.java:27: error: incompatible types: BigInteger cannot be converted to int
sum=sum.add(a[v].divide(a[(v.subtract(j))].multiply(a[j])));
^
5 errors