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.

A029515 Numbers k such that k divides the (right) concatenation of all numbers <= k written in base 22 (most significant digit on right).

Original entry on oeis.org

1, 2, 3, 6, 7, 9, 11, 14, 18, 21, 35, 75, 97, 102, 105, 175, 196, 291, 343, 375, 455, 485, 1176, 2070, 2151, 3375, 4968, 11375, 17059, 21826, 22326, 28856, 30079, 41265, 47285, 49605, 49966, 67648, 92806, 115074, 143493, 179654, 963874, 1525498, 1527890
Offset: 1

Views

Author

Keywords

Comments

This sequence differs from A061951 in that all least significant zeros are kept during concatenation.
The next term is > 1460000. - Larry Reeves, Jan 16 2002

Examples

			See A029495 for example.
		

Crossrefs

Programs

  • Mathematica
    b = 22; c = {}; Select[Range[10^4], Divisible[FromDigits[c = Join[c, Reverse[IntegerDigits[#, b]]], b], #] &] (* Robert Price, Mar 13 2020 *)
  • PARI
    lista(nn, m=22) = my(s, t); for(k=1, nn, s=k; while(s, t=t*m+s%m; s\=m); if(t%k==0, print1(k, ", "))); \\ Jinyuan Wang, Dec 05 2020

Extensions

More terms from Larry Reeves (larryr(AT)acm.org), Jun 01 2001
Edited and updated by Larry Reeves (larryr(AT)acm.org), Apr 12 2002