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.

A359267 Numbers k such that A359194(k) < k.

Original entry on oeis.org

1, 2, 4, 5, 8, 9, 10, 16, 17, 18, 19, 20, 21, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143
Offset: 1

Views

Author

Rémy Sigrist, Dec 23 2022

Keywords

Comments

The first run of consecutive values has length 2 and initial value 1.
For k > 1, the k-th run of consecutive values has length A005578(k) and initial value 2^k.

Examples

			A359194(42) = 1 < 42, so 42 belongs to this sequence.
		

Crossrefs

Cf. A005578, A359194, A359266 (complement).

Programs

  • PARI
    is(n) = if(n, bitneg(3*n, exponent(3*n)+1), 1) < n