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

A029496 Numbers n such that n divides the (right) concatenation of all numbers <= n written in base 3 (most significant digit on right).

Original entry on oeis.org

1, 7, 8, 112, 424, 595, 1997, 2336, 2455, 33265, 2475701, 9363208, 15402464
Offset: 1

Views

Author

Keywords

Comments

This sequence differs from A061932 in that all least significant zeros are kept during concatenation.
No more terms < 10^7. [Lars Blomberg, Oct 02 2011]

Examples

			See A029495 for example.
		

Crossrefs

Programs

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

Extensions

Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002
Additional comments from Larry Reeves (larryr(AT)acm.org), May 25 2001
a(10) from Larry Reeves, Jan 16 2002
a(11)-a(12) from Lars Blomberg, Oct 02 2011
a(13) from Chai Wah Wu, Jul 28 2020
Showing 1-1 of 1 results.