OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(3)=(10-3)(10+3)=91; a(11)=(100+11)(100-11)=111*89=9879.
MAPLE
s:=proc(m) nops(convert(m, base, 10)) end: a:=n->(10^(s(n))-n)*(10^(s(n))+n): seq(a(n), n=1..55); # s gives number of digits # Emeric Deutsch, Aug 01 2005
MATHEMATICA
Table[Times@@(10^IntegerLength[n]+{n, -n}), {n, 50}] (* Harvey P. Dale, May 31 2015 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Jul 29 2005
EXTENSIONS
More terms from Emeric Deutsch, Aug 01 2005
STATUS
approved