login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A262693 Characteristic function for A259934. 12
1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0

COMMENTS

Apart from a(0)=1 the first differences of A262694.

From Antti Karttunen, Nov 29 2015: (Start)

Provided that A259934 indeed is the unique infinite sequence s satisfying the condition A049820(s(k)) = s(k-1) for all k>=1, then the alternative but equivalent definition for this sequence is: a(n) = 0 if there are only finitely many integers from which one can reach n by repeated iterations of A049820, and 1 otherwise.

In case A259934 were not a unique solution, but only the lexicographically earliest branch of several, then the above alternative definition would produce more 1's after some (large) value of n. It would also be a more appropriate definition for the sequences like A262522 (A262896) and A262695 - A262697 (to keep them well-defined in principle), than the current, more restricted definition of this sequence.

(End)

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..65538

FORMULA

a(0) = 1; for n >= 1, a(n) = A262694(n) - A262694(n-1).

PROG

(define (A262693 n) (if (zero? n) 1 (- (A262694 n) (A262694 (- n 1)))))

CROSSREFS

Cf. A049820, A259934, A262694.

Cf. also A262522, A262695, A262696, A262697, A262896, A262897.

Sequence in context: A190236 A190224 A278169 * A267423 A257585 A285034

Adjacent sequences:  A262690 A262691 A262692 * A262694 A262695 A262696

KEYWORD

nonn

AUTHOR

Antti Karttunen, Oct 04 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 19 20:48 EST 2018. Contains 299357 sequences. (Running on oeis4.)