login
a(n) = smallest number which has in its Spanish name the letter "a" in the n-th position, or -1 if no such number exists.
0

%I #2 Mar 31 2012 14:00:43

%S -1,14,4,-1,1014,1004,30,40,24,1030,34,44,54,140,124,404,134,144,154,

%T 324,234,244,254,354,444,454,1354,1444,1454,2354,2444,2454,3454,4444,

%U 4454

%N a(n) = smallest number which has in its Spanish name the letter "a" in the n-th position, or -1 if no such number exists.

%C a(2)=cAtorce, a(3)=cuAtro, a(5)= mil cAtorce

%K word,sign

%O 1,2

%A _Claudio Meller_, Aug 26 2009