OFFSET
0,3
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
EXAMPLE
a(24) = (2!!) + (4!!) = 2 + 8 = 10. a(35) = (3!!) + (5!!) = 3 + 15 = 18.
MAPLE
A161178 := proc(n) if n = 0 then 1; else add(doublefactorial(d), d=convert(n, base, 10)) ; end if; end proc:
MATHEMATICA
Total[IntegerDigits[#]!!]&/@Range[0, 70] (* Harvey P. Dale, Aug 28 2013 *)
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Paolo P. Lava and Giorgio Balzarotti, Jun 05 2009
STATUS
approved