login
(A178476(n)-3)/9.
5

%I #9 Feb 13 2013 20:26:20

%S 13717,13718,13727,13729,13738,13739,13817,13818,13837,13840,13848,

%T 13850,13927,13929,13937,13940,13959,13960,14038,14039,14048,14050,

%U 14059,14060,14717,14718,14727,14729,14738,14739,14917,14918,14947,14951,14958,14961

%N (A178476(n)-3)/9.

%C The sequence is motivated by the fact that numbers whose decimal expansion is a permutation of 123456, are all of the form 9k+3.

%C There are 6!=720 terms in this finite sequence.

%H Nathaniel Johnston, <a href="/A178486/b178486.txt">Table of n, a(n) for n = 1..720</a> (full sequence)

%F a(n) + a(6!+1-n) = 86419.

%F a(n) == 0, 1, 2, 7, 8 or 9 (mod 10).

%o (PARI) forstep( m=123456,654321/*or less*/,9, is_A178476(m) & print1(m\9",")) /*cf. A178476*/

%Y Cf. A030298, A030299, A055089, A060117, A178485, A191819, A191820.

%K fini,full,nonn,base,easy

%O 1,1

%A _M. F. Hasler_, May 28 2010