OFFSET
1,3
MAPLE
A080525 := proc(n) if n mod 2 <> 0 then n^(n-1)+(2-n-1)/2 ; else n^(n-1)+(2-n-1) ; fi ; end: for n from 1 to 30 do printf("%d, ", A080525(n)) ; od ; # R. J. Mathar, Apr 01 2007
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Mar 21 2003
EXTENSIONS
More terms from R. J. Mathar, Apr 01 2007
STATUS
approved