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.

A259543 Smallest m such that A259542(m) = 2*n-1.

This page as a plain text file.
%I A259543 #6 Jun 30 2015 04:53:45
%S A259543 1,6,2,3,7,8,4,19,5,9,14,10,24,20,21,25,11,15,16,12,26,22,37,23,27,13,
%T A259543 17,56,18,32,28,42,38,39,43,29,33,51,55,54,50,34,30,44,40,71,41,45,31,
%U A259543 35,57,53,92,52,58,36,68,46,76,72,73,77,47,67,63,59,87
%N A259543 Smallest m such that A259542(m) = 2*n-1.
%C A259543 Sequence is defined for all n iff A259542 is a permutation of the odd numbers;
%C A259543 A259542(a(n)) = 2*n-1.
%H A259543 Reinhard Zumkeller, <a href="/A259543/b259543.txt">Table of n, a(n) for n = 1..10000</a>
%o A259543 (Haskell)
%o A259543 import Data.List (elemIndex); import Data.Maybe (fromJust)
%o A259543 a259543 = (+ 1) . fromJust . (`elemIndex` a259542_list) . subtract 1 . (* 2)
%Y A259543 Cf. A259542.
%K A259543 nonn
%O A259543 1,2
%A A259543 _Reinhard Zumkeller_, Jun 30 2015