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.

A107062 Union of set of Belgian-k numbers for k = 0..9 which begin with k.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 16, 17, 20, 22, 25, 26, 30, 31, 33, 34, 35, 39, 40, 43, 44, 50, 52, 53, 55, 60, 61, 62, 66, 68, 70, 71, 77, 80, 86, 88, 90, 93, 99, 100, 101, 106, 110, 111, 113, 115, 121, 122, 130, 131, 137, 142, 155, 157, 161, 170, 171, 172, 178
Offset: 0

Views

Author

Eric Angelini, Jun 07 2005

Keywords

Crossrefs

Programs

  • Mathematica
    belgianKQ[n_] := Block[{id = Join[{0}, IntegerDigits@ n]}, MemberQ[ Accumulate@ id, Mod[n - id[[2]], Plus @@ id]]]; Select[ Range@ 178, belgianKQ] (* Robert G. Wilson v, May 06 2011 *)