OFFSET
1,2
EXAMPLE
a(2)=2 since 1^3 = 1 mod 2 and 2^3 = 8 = 0 mod 2 = 2 mod 2.
a(3)=2 since 1^1+1^2+1^3 = 3 = 0 mod 3 and 3^1+3^2+3^3 = 39 = 0 mod 3 but 2^1+2^2+2^3 = 14 = 2 mod 3 != 0 mod 3.
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Jun 06 2005
STATUS
approved