OFFSET
1,2
COMMENTS
Amarnath Murthy conjectured that all terms are positive for n>1. This is true. Consider the number of digits. There are n*ceiling(log_10(n+1)) digits in the concatenation, but only log_10(n^n)=n*log_10(n) in n^n. Therefore the terms are never negative. - Hauke Worpel (hw1(AT)email.com), Jun 03 2003
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..300
FORMULA
EXAMPLE
a(4) = 4444 - 4^4 = 4188.
MATHEMATICA
Table[FromDigits[Flatten[IntegerDigits/@PadRight[{}, n, n]]]-n^n, {n, 15}] (* Harvey P. Dale, Mar 25 2012 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 01 2003
EXTENSIONS
More terms from Hauke Worpel (hw1(AT)email.com), Jun 03 2003
More terms from David Wasserman, Nov 10 2004
STATUS
approved