login
A283473
Numbers n for which A004001(n) = A283470(n).
6
1, 2, 5, 11, 12, 23, 24, 25, 26, 27, 50, 51, 52, 53, 54, 55, 56, 57, 58, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495
OFFSET
1,2
COMMENTS
Equally, numbers n such that A004001(n) = A283469(n).
LINKS
MATHEMATICA
a[n_] := a[n] = If[n <= 2, 1, a[a[n - 1]] + a[n - a[n - 1]]]; With[{nn = 500}, Function[s, Select[Range@ nn, a@ # == s[[#]] &]]@ Table[BitXor[a[#], a[n - #]] &@ a[n - 1] + Boole[n <= 2], {n, nn}]] (* Michael De Vlieger, Mar 18 2017, after Robert G. Wilson v at A004001 *)
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(define A283473 (ZERO-POS 1 1 A283472))
(define A283473 (MATCHING-POS 1 1 (lambda (n) (= (A004001 n) (A283470 n)))))
CROSSREFS
Positions of zeros in A283472.
Sequence in context: A136989 A136987 A231336 * A062889 A065433 A032541
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 18 2017
STATUS
approved