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.

Showing 1-2 of 2 results.

A067114 Let N = 24681012141618202224262830..., the concatenation of the even numbers. Then a(n) = sum of first n digits of N.

Original entry on oeis.org

2, 6, 12, 20, 21, 21, 22, 24, 25, 29, 30, 36, 37, 45, 47, 47, 49, 51, 53, 57, 59, 65, 67, 75, 78, 78, 81, 83, 86, 90, 93, 99, 102, 110, 114, 114, 118, 120, 124, 128, 132, 138, 142, 150, 155, 155, 160, 162, 167, 171, 176, 182, 187, 195, 201, 201, 207, 209, 215, 219
Offset: 1

Views

Author

Amarnath Murthy, Jan 08 2002

Keywords

Examples

			a(5) = 2+4+6+8+1 = 21.
		

Crossrefs

Programs

  • Mathematica
    Accumulate[Flatten[IntegerDigits/@Range[2,66,2]]] (* Harvey P. Dale, Nov 09 2011 *)

Extensions

More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 19 2003

A067115 Let N = 1357911131517192123252729... = concatenation of odd numbers. Then a(n) = sum of first n digits of N.

Original entry on oeis.org

1, 4, 9, 16, 25, 26, 27, 28, 31, 32, 37, 38, 45, 46, 55, 57, 58, 60, 63, 65, 70, 72, 79, 81, 90, 93, 94, 97, 100, 103, 108
Offset: 1

Views

Author

Amarnath Murthy, Jan 08 2002

Keywords

Examples

			a(6)= 1+3+5+7+9+1 = 26.
		

Crossrefs

Programs

  • Mathematica
    Module[{nn=20,codd},codd=Flatten[IntegerDigits/@(2Range[0,nn]+1)];Accumulate[ codd]] (* Harvey P. Dale, Jul 09 2021 *)
Showing 1-2 of 2 results.