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.

A180176 Lexicographically earliest permutation of the natural numbers such that a(n) != n and in decimal representation a(n) and n have at least one common digit.

This page as a plain text file.
%I A180176 #15 Jul 03 2023 12:33:55
%S A180176 10,11,12,13,14,15,16,17,18,19,0,1,2,3,4,5,6,7,8,9,21,20,23,22,25,24,
%T A180176 27,26,29,28,31,30,33,32,35,34,37,36,39,38,41,40,43,42,45,44,47,46,49,
%U A180176 48,51,50,53,52,55,54,57,56,59,58,61,60,63,62,65,64,67,66,69,68,71,70,73
%N A180176 Lexicographically earliest permutation of the natural numbers such that a(n) != n and in decimal representation a(n) and n have at least one common digit.
%C A180176 The permutation is self-inverse;
%C A180176 a(n) = A004442(n) for n >= 20.
%H A180176 Vincenzo Librandi, <a href="/A180176/b180176.txt">Table of n, a(n) for n = 0..1000</a>
%H A180176 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%H A180176 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (1, 1, -1).
%F A180176 From _Chai Wah Wu_, Oct 22 2018: (Start)
%F A180176 a(n) = a(n-1) + a(n-2) - a(n-3) for n > 22.
%F A180176 G.f.: (-9*x^22 - 2*x^21 + 11*x^20 + 20*x^12 - 20*x^10 - 9*x^2 + x + 10)/((x - 1)^2*(x + 1)). (End)
%t A180176 CoefficientList[Series[(-9 x^22 - 2 x^21 + 11 x^20 + 20 x^12 - 20 x^10 - 9 x^2 + x + 10) / ((x - 1)^2 (x + 1)), {x, 0, 100}], x] (* _Vincenzo Librandi_, Oct 23 2018 *)
%K A180176 base,nonn
%O A180176 0,1
%A A180176 _Reinhard Zumkeller_, Aug 15 2010