KC2W5ALNULVHMBRMBWDOJYBCTIIUQQYUJXXWTHC5AAZQFJHJ2PEAC
QK6XE5XFT6XT6N2TAFLZTJAV3FWDDWXMXHHEE7MCFIUBRETV2HFQC
assert_eq!(1, squares::square_of_sum(1));
assert_eq!(225, squares::square_of_sum(5));
assert_eq!(25_502_500, squares::square_of_sum(100));
assert_eq!(1, squares::sum_of_squares(1));
assert_eq!(55, squares::sum_of_squares(5));
assert_eq!(338_350, squares::sum_of_squares(100));
assert_eq!(0, squares::difference(1));
assert_eq!(170, squares::difference(5));
assert_eq!(25_164_150, squares::difference(100));
// https://en.wikipedia.org/wiki/Triangular_number
unimplemented!("square of sum of 1...{}", n)
(n * (n + 1) / 2).pow(2)
// https://en.wikipedia.org/wiki/Square_pyramidal_number
unimplemented!("sum of squares of 1...{}", n)
n * (n + 1) * (2 * n + 1) / 6
unimplemented!( "difference between square of sum of 1...{n} and sum of squares of 1...{n}", n = n, )
unimplemented!(
"difference between square of sum of 1...{n} and sum of squares of 1...{n}",
n = n,
)
square_of_sum(n) - sum_of_squares(n)