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.

A367092 Starting values of runs of consecutive numbers in A367090, i.e., minima of gaps in the set of sums of distinct powers of 3 and distinct powers of 4.

Original entry on oeis.org

62, 143, 207, 463, 561, 642, 706, 791, 872, 936, 1487, 1585, 1666, 1730, 1815, 1896, 1960, 2249, 2395, 2650, 2748, 2829, 2893, 2978, 3059, 3123, 3674, 3772, 3853, 3917, 4002, 4083, 4158, 4582, 4657, 4738, 4802, 4887, 4968, 5032, 5583, 5681, 5762, 5826, 5911, 5992, 6056, 6345, 6491
Offset: 1

Views

Author

M. F. Hasler, Nov 08 2023

Keywords

Comments

Also: terms a(n) of A367090 such that a(n)-1 is not in A367090.
("Consecutive" includes the possibility of having a gap of just one single isolated missing number.)
This sequence together with A367091 (run lengths), provide a "compressed version" of A367090.

Examples

			Sequence A367090 (= numbers that are not the sum of distinct powers of 3 or 4) starts (62, 63, 143, 144, 207, 208, 209, 210, ...), so the first three runs of consecutive terms start at a(1) = 62, a(2) = 143, and a(3) = 207.
		

Crossrefs

Cf. A367090, A367091; A005836 and A000695 (sums of distinct powers of 3 resp. 4).

Programs

  • PARI
    A367092_upto(N, A=A367090_upto(N))=[ A[k] | k<-[1..#A], A[k-(k>1)]!=A[k]-1 ]

Formula

{ x in A367090 | x-1 is not in A367090 }