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.

A167521 Positive integers not occurring in A167520.

Original entry on oeis.org

11, 29, 47, 67, 85, 105, 123, 143, 161, 181, 182, 184, 187, 190, 193, 196, 199, 202, 205, 209, 239, 266, 296, 323, 353, 380, 410, 445, 446, 448, 451, 454, 457, 460, 463, 467, 497, 527, 554, 584, 614, 641, 671, 701, 727, 728, 730, 733, 736, 739, 742, 745, 748
Offset: 1

Views

Author

M. F. Hasler, Nov 05 2009

Keywords

Comments

Equivalently, positions of zero digits in A167520 (when all terms are concatenated).
The first differences are (18, 18, 20, 18, 20, 18, 20, 18, 20, 1, 2, 3, 3, 3, 3, 3, 3, 3, 4, 30, 27, 30, 27, 30, 27, 30, 35, 1, 2, 3, 3, 3, 3, 3, 4, ...)

Examples

			The first occurrence of the digit '0' in A167520 is as the least significant digit of A167520(10)=10, which occurs at position 11, thus a(1)=11. Equivalently, this is the least positive integer missing in A167520.
The next occurrence of the digit '0' in A167520 is at position 29 (and 29 is the second positive integer not occurring in A167520), thus a(2)=29.
		

Crossrefs

Programs

  • PARI
    base(n,b=10) = { my( a=[ n%b ]); while( 0=n & for(i=a[n-1]+1,#b,b[i] & (a=concat(a,i)) & break); #a