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.

A245627 Base 10 digit sum of 11*n.

Original entry on oeis.org

0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 2, 4, 6, 8, 10, 12, 14, 16, 18, 11, 4, 6, 8, 10, 12, 14, 16, 18, 11, 13, 6, 8, 10, 12, 14, 16, 18, 11, 13, 15, 8, 10, 12, 14, 16, 18, 11, 13, 15, 17, 10, 12, 14, 16, 18, 11, 13, 15, 17, 19, 12, 14, 16, 18, 11, 13, 15, 17, 19, 21, 14, 16, 18, 11, 13, 15, 17, 19, 21, 23, 16, 18, 11, 13, 15, 17, 19, 21, 23, 25, 18, 2
Offset: 0

Views

Author

Alonso del Arte, Jul 27 2014

Keywords

Comments

First term that differs from A136614 is a(91) = 2, compared to A136614(91) = 11.

Examples

			a(90) = 18 because 11 * 90 = 990 and 9 + 9 + 0 = 18.
a(91) = 2 because 11 * 91 = 1001 and 1 + 0 + 0 + 1 = 2.
		

Crossrefs

Programs

  • Maple
    a:= n -> convert(convert(11*n,base,10),`+`):
    seq(a(n),n=0..100); # Robert Israel, Aug 01 2014
  • Mathematica
    Table[Plus@@IntegerDigits[11n], {n, 0, 99}]
  • PARI
    a(n) = sumdigits(11*n); \\ Michel Marcus, Aug 03 2014

Formula

a(n) = A007953(A008593(n)). - Tom Edgar, Jul 27 2014