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.

A107346 Differences between successive permutations of 1,2,3,4,5 regarded as decimal numbers arranged in increasing order.

This page as a plain text file.
%I A107346 #32 Jun 16 2016 23:27:28
%S A107346 9,81,18,81,9,702,9,171,27,72,18,693,18,72,27,171,9,702,9,81,18,81,9,
%T A107346 5913,9,81,18,81,9,1602,9,261,36,63,27,594,18,162,36,162,18,603,9,171,
%U A107346 27,72,18,5814,9,171,27,72,18,603,9,261,36,63,27,1584,27,63,36,261,9
%N A107346 Differences between successive permutations of 1,2,3,4,5 regarded as decimal numbers arranged in increasing order.
%C A107346 We can produce similar sequences of length n!-1 from all the n-set permutations (1,...,n), starting from n=2 up to n=9. The next larger sequence contains always the preceding sequence as its proper prefix. See A219664 for the largest such sequence. - _Antti Karttunen_, Dec 18 2012
%C A107346 See A209280 for the extension of this sequence to 9!-1 terms, and for comments and formulas which apply to this subsequence. - _M. F. Hasler_, Jan 15 2013
%H A107346 T. D. Noe, <a href="/A107346/b107346.txt">Table of n, a(n) for n = 1..119</a> (complete sequence)
%F A107346 a(n) = A209280(n) for n<5!. See there for more useful relations. - _M. F. Hasler_, Jan 15 2013
%e A107346 Permutations are 12345, 12354, 12435, ...
%e A107346 a(3) = 18 because if we order these permutations (ascending), then P(4)-P(3) = 12453-12435 = 18
%t A107346 Differences[FromDigits /@ Permutations[{1, 2, 3, 4, 5}]] (* _T. D. Noe_, Dec 18 2012 *)
%o A107346 (PARI) A107346(n)=A209280(n) \\ - _M. F. Hasler_, Jan 15 2013
%Y A107346 Cf. A030299, A219664, A209280.
%K A107346 easy,nonn,base,fini,full
%O A107346 1,1
%A A107346 Ivan Meyer (ivan.mey(AT)gmail.com), May 23 2005