|
|
A100817
|
|
Product of the digits of n, each doubled.
|
|
1
|
|
|
0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 0, 8, 16, 24, 32, 40, 48, 56, 64, 72, 0, 12, 24, 36, 48, 60, 72, 84, 96, 108, 0, 16, 32, 48, 64, 80, 96, 112, 128, 144, 0, 20, 40, 60, 80, 100, 120, 140, 160, 180, 0, 24, 48, 72, 96, 120, 144, 168
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
10: (1+1)*(0+0)=0
|
|
MAPLE
|
if n = 0 then
0;
else
mul( 2*d, d=convert(n, base, 10)) ;
end if;
end proc:
|
|
MATHEMATICA
|
Times@@(2*IntegerDigits[#])&/@Range[0, 70] (* Harvey P. Dale, Jan 16 2012 *)
|
|
PROG
|
(Perl) #!/usr/local/bin/perl -w for $i (1..100){ @j = split "", $i; $prod=1; for (@j){ $prod *= $_ + $_; } print "$prod, "; }
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
gamo (gamo(AT)telecable.es), Jan 05 2005
|
|
STATUS
|
approved
|
|
|
|