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.

A258105 Inverse to sequence defined as {b(1) = 1, and for n>1: b(n) = A257906(n)}, which is conjectured to be a permutation of natural numbers.

This page as a plain text file.
%I A258105 #14 May 24 2015 13:38:47
%S A258105 1,2,4,6,3,10,5,8,7,12,14,18,20,11,9,16,24,22,13,26,15,28,19,32,21,34,
%T A258105 30,36,38,40,17,44,25,42,23,48,50,54,27,52,46,60,29,56,58,62,33,64,66,
%U A258105 71,35,69,31,75,37,77,39,68,41,81,73,79,45,83,85,89,43,87,93,97,49,91,51,99,55,101,95,103,53,105,47,107,61
%N A258105 Inverse to sequence defined as {b(1) = 1, and for n>1: b(n) = A257906(n)}, which is conjectured to be a permutation of natural numbers.
%C A258105 In case the sequence b is not a permutation of natural numbers, then neither this will be and we set a(n) = -1 for those n > 1 that do not occur in A257906.
%H A258105 Antti Karttunen, <a href="/A258105/b258105.txt">Table of n, a(n) for n = 1..7575</a>
%H A258105 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%o A258105 (Scheme, with macro defineperm1 from _Antti Karttunen_'s IntSeq-library)
%o A258105 ;; Needs also code from A257906 and A257907:
%o A258105 (defineperm1 (A257906_with_a1_1 n) (if (= 1 n) n (A257906 n)))
%o A258105 (define (A258105 n) (A257906_with_a1_1 (- n))) ;; We get cached inverse-values with negative arguments, provided that A257906_with_a1_1 has been computed first far enough.
%Y A258105 Cf. A257906, A257907.
%K A258105 nonn
%O A258105 1,2
%A A258105 _Antti Karttunen_, May 20 2015