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.

A097484 Write the odd positive integers on labels in numerical order, forming an infinite sequence L. Consider the succession of single digits of L: 1 3 5 7 9 1 1 1 3 1 5 1 7 1 9 2 1 2 3 2 5 2 7 2 9 3 1 ... (A031312). This sequence is a derangement of L that produces the same succession of digits, subject to the constraint that the smallest unused label must be used that does not lead to a contradiction.

This page as a plain text file.
%I A097484 #15 Nov 26 2015 23:55:42
%S A097484 13,5,7,9,1,113,15,17,19,21,23,25,27,29,3,133,35,37,39,41,43,45,47,49,
%T A097484 51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,
%U A097484 97,99,101,103,105,107,109,11,1113,115,117,119,121,123,125,127,129,131
%N A097484 Write the odd positive integers on labels in numerical order, forming an infinite sequence L. Consider the succession of single digits of L: 1 3 5 7 9 1 1 1 3 1 5 1 7 1 9 2 1 2 3 2 5 2 7 2 9 3 1 ... (A031312). This sequence is a derangement of L that produces the same succession of digits, subject to the constraint that the smallest unused label must be used that does not lead to a contradiction.
%C A097484 Derangement here means the n-th element of L is not the n-th element of this sequence, so a(n) != 2n - 1.
%e A097484 We must begin with 1,3,5,7... and we cannot have a(1) = 1, so the next possibility is the label "13". The next term must be the smallest available label not leading to a contradiction, thus "5". The next one will be "7", etc. After the label "9" the smallest available label is "1". After this "1" we cannot have a(6) = 11 -- we thus take the smallest available label which is "113". No label is allowed to start with a leading zero.
%Y A097484 Cf. A005408, A097481, A097485, A097487, A097488, A097500, A097912, A097962, A098067, A098080.
%Y A097484 Same type of sequence -- but for even numbers -- is A097481. - _Eric Angelini_, Aug 12 2008
%K A097484 base,easy,nonn
%O A097484 1,1
%A A097484 _Eric Angelini_, Sep 19 2004
%E A097484 Corrected and extended by _Jacques ALARDET_ and _Eric Angelini_, Aug 12 2008
%E A097484 Derangement wording introduced by _Danny Rorabaugh_, Nov 26 2015