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-3 of 3 results.

A103848 Numbers n such that sum of even digits of n is larger than sum of odd digits.

Original entry on oeis.org

1, 3, 5, 7, 9, 10, 11, 13, 15, 17, 19, 23, 25, 27, 29, 30, 31, 32, 33, 35, 37, 39, 45, 47, 49, 50, 51, 52, 53, 54, 55, 57, 59, 67, 69, 70, 71, 72, 73, 74, 75, 76, 77, 79, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 103, 105, 107, 109, 110, 111, 113, 115, 117, 119
Offset: 1

Views

Author

Zak Seidov, Feb 18 2005

Keywords

Comments

Sum of even digits equals sum of odd digits => A036301. Sum of even digits less than sum of odd digits => A103829

Crossrefs

Programs

  • Mathematica
    Select[Range[300], Plus@@Select[IntegerDigits[ # ], OddQ]>Plus@@Select[IntegerDigits[ # ], EvenQ]&]

Extensions

Mathematica program corrected by Harvey P. Dale, Oct 10 2024

A103849 Rearrangement of natural numbers according to sums of odd and even digits.

Original entry on oeis.org

0, 112, 1, 2, 121, 3, 4, 134, 5, 6, 143, 7, 8, 156, 9, 12, 165, 10, 14, 178, 11, 16, 187, 13, 18, 211, 15, 20, 314, 17, 21, 336, 19, 22, 341, 23, 24, 358, 25, 26, 363, 27, 28, 385, 29, 34, 413, 30, 36, 431, 31, 38, 516, 32, 40, 538, 33, 41, 561, 35, 42, 583, 37, 43, 615, 39
Offset: 1

Views

Author

Zak Seidov, Feb 18 2005

Keywords

Comments

Sum of odd digits (less than, equals and larger than) sum of even digits A103829, A036301, 103848.

Examples

			k=1: a(1)=A103829(1), a(2)=A036301(1), a(3)=A103848(1).
		

Crossrefs

Formula

n=3k-2, a(n)=A103829(k); n=3k-1, a(n)=A036301(k); n=3k-1, a(n)=A103848(k); (k=1, 2, ...)

A103877 Position of n in rearrangement of natural numbers A103849.

Original entry on oeis.org

1, 3, 4, 6, 7, 9, 10, 12, 13, 15, 18, 21, 16, 24, 19, 27, 22, 30, 25, 33, 28, 31, 34, 36, 37, 39, 40, 42, 43, 45, 48, 51, 54, 57, 46, 60, 49, 63, 52, 66, 55, 58, 61, 64
Offset: 0

Views

Author

Zak Seidov, Feb 20 2005

Keywords

Comments

a(43)=64 because 43 in 64th place in A103849.

Crossrefs

Programs

  • Mathematica
    Flatten[Table[Position[A103849, i], {i, 0, 43}]]
Showing 1-3 of 3 results.