private BigDec gcd(ConsCell input) throws ParserException {
ArrayList<ConsCell> ints = input.splitOnSeparator();
BigDec gcd = new BigDec(parser.run(ints.get(0)).toString());
for (int i = 1; i < ints.size(); i++)
gcd = gcd.gcd(new BigDec(parser.run(ints.get(i)).toString()));
return gcd;
}
private BigDec lcm(ConsCell input) throws ParserException {
ArrayList<ConsCell> ints = input.splitOnSeparator();