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.

A029538 Numbers n such that n divides the (left) concatenation of all numbers <= n written in base 21 (most significant digit on right and removing all least significant zeros before concatenation).

Original entry on oeis.org

1, 5, 40, 65, 80, 928, 1504, 4568, 4640, 4880, 5065, 11201, 31145, 40555, 89480, 812645, 1281320
Offset: 1

Views

Author

Keywords

Comments

This sequence differs from A061974 in that all least significant zeros are removed before concatenation.
No more terms < 10^7. [Lars Blomberg, Sep 26 2011]

Examples

			See A029519 for example.
		

Crossrefs

Programs

  • Mathematica
    b = 21; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[IntegerDigits[IntegerReverse[#, b], b], c], b], #] &] (* Robert Price, Mar 13 2020 *)

Extensions

Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002
Additional comments and more terms from Larry Reeves (larryr(AT)acm.org), May 25 2001
a(16)-a(17) from Lars Blomberg, Sep 26 2011