cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A162845 Sum of digits of binomial(3n,n).

Original entry on oeis.org

1, 3, 6, 12, 18, 6, 24, 18, 27, 39, 18, 36, 36, 36, 42, 60, 63, 63, 78, 72, 72, 63, 72, 90, 72, 99, 90, 75, 117, 108, 90, 99, 117, 117, 99, 162, 126, 144, 153, 153, 153, 159, 150, 126, 153, 114, 144, 171, 171, 171, 162, 162, 198, 180, 186, 207, 180, 189, 180, 234, 207
Offset: 0

Views

Author

Yalcin Aktar, Jul 14 2009

Keywords

Examples

			a(4)=sum of digits of binomial(3*4,4)=18 because binomial(3*4,4)=495.
		

Programs

  • Maple
    a := proc (n) local nn: nn := convert(binomial(3*n, n), base, 10): add(nn[j], j = 1 .. nops(nn)) end proc: seq(a(n), n = 0 .. 70); # Emeric Deutsch, Jul 29 2009

Extensions

Extended by Emeric Deutsch, Jul 29 2009