login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A255055
Greatest inverse of A255072; a(n) = largest k such that A255072(k) = n.
6
0, 2, 5, 6, 10, 13, 14, 18, 22, 26, 29, 30, 34, 38, 43, 46, 50, 54, 58, 61, 62, 66, 70, 75, 78, 85, 90, 94, 98, 102, 107, 110, 114, 118, 122, 125, 126, 130, 134, 139, 142, 149, 154, 158, 165, 171, 175, 181, 186, 190, 194, 198, 203, 206, 213, 218, 222, 226, 230, 235, 238, 242, 246, 250, 253, 254, 258
OFFSET
0,2
LINKS
FORMULA
a(0) = 0; for n > 0, a(n) = A255054(n) + a(n-1).
Other identities. For all n >= 0:
a(n) = A255053(n) + A255054(n) - 1.
a(n) = A255056(n) + A255124(n).
PROG
(Scheme, with Antti Karttunen's IntSeq-library, three different implementations):
(definec (A255055 n) (if (zero? n) n (+ (A255054 n) (A255055 (- n 1)))))
(define A255055 (COMPOSE -1+ (LEAST-I-WITH-FUN-I-EQ-N 0 0 A255072) 1+)) ;; Slow !
(define (A255055 n) (+ (A255053 n) (A255054 n) -1))
CROSSREFS
Analogous sequences: A173601, A219645, A219655.
Sequence in context: A255341 A089269 A047440 * A344314 A369020 A358817
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 14 2015
STATUS
approved