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.

A230424 a(n) = largest natural number x such that x=n+A034968(x), or zero if no such number exists.

Original entry on oeis.org

1, 3, 5, 0, 0, 7, 9, 11, 0, 0, 13, 15, 17, 0, 0, 19, 21, 23, 0, 0, 0, 0, 0, 25, 27, 29, 0, 0, 31, 33, 35, 0, 0, 37, 39, 41, 0, 0, 43, 45, 47, 0, 0, 0, 0, 0, 49, 51, 53, 0, 0, 55, 57, 59, 0, 0, 61, 63, 65, 0, 0, 67, 69, 71, 0, 0, 0, 0, 0, 73, 75, 77, 0, 0, 79
Offset: 0

Views

Author

Antti Karttunen, Oct 31 2013

Keywords

Crossrefs

Cf. A034968, A230414. a(A219650(n)) = A005408(n) = 2n+1.
One more than A230423 at its nonzero points. A219658 gives the positions of zeros. Can be used to compute A230425-A230427.
Analogous sequence for binary system: A213724.

Programs

  • Scheme
    (define (A230424 n) (if (zero? n) 1 (let ((v (A230423 n))) (if (zero? v) v (+ 1 v)))))

Formula

a(n) = A230412(n)*(A230423(n)+1).