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.

A246262 Inverse function to injection A246261, partial sums of A246260.

This page as a plain text file.
%I A246262 #8 Aug 22 2014 16:49:03
%S A246262 0,1,1,2,3,3,3,3,3,4,5,6,7,8,9,9,10,10,10,10,10,10,10,11,11,12,12,13,
%T A246262 13,13,14,15,15,16,17,18,19,20,21,22,23,23,24,24,25,25,25,26,27,28,28,
%U A246262 28,29,29,29,29,30,30,31,32,32,32,32,32,33,33,33,33,33,34,34,35,35,35,35,36,36,36,36,36,36,37,38,39
%N A246262 Inverse function to injection A246261, partial sums of A246260.
%H A246262 Antti Karttunen, <a href="/A246262/b246262.txt">Table of n, a(n) for n = 0..10001</a>
%F A246262 a(0) = 0, and for n >= 1, a(n) = A246260(n) + a(n-1).
%F A246262 a(n) = n - A246264(n).
%F A246262 Other identities. For all n >= 1 the following holds:
%F A246262 a(A246261(n)) = n. [This works as an inverse function for A246261].
%o A246262 (Scheme, with memoization-macro definec)
%o A246262 (definec (A246262 n) (if (zero? n) n (+ (A246260 n) (A246262 (- n 1)))))
%Y A246262 Cf. A246260, A246261, A246264, A246266.
%K A246262 nonn
%O A246262 0,4
%A A246262 _Antti Karttunen_, Aug 21 2014