|
|
A127906
|
|
a(n) = (n in base 10) * (n in base 2).
|
|
3
|
|
|
0, 1, 20, 33, 400, 505, 660, 777, 8000, 9009, 10100, 11121, 13200, 14313, 15540, 16665, 160000, 170017, 180180, 190209, 202000, 212121, 222420, 232553, 264000, 275025, 286260, 297297, 310800, 321929, 333300, 344441, 3200000, 3300033, 3400340, 3500385
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
a(n) is a palindrome for n=0, 1, 3, 5, 7, 9, 33, 313, 455, 585, 819. Question: What is the next such n? If it exists it is greater than 10^9. - Michel Marcus, Feb 20 2016
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
0*0, 1*1, 2*10, 3*11, 4*100, 5*101, 6*110, 7*111, 8*1000, 9*1001, 10*1010, ...
a(14) is 14*1110 = 15540.
|
|
MAPLE
|
(n mod 2) + 10 * procname(floor(n/2))
end proc:
|
|
MATHEMATICA
|
|
|
PROG
|
(PARI) a(n) = n*subst(Pol(binary(n)), x, 10) ; \\ Michel Marcus, Feb 20 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
Ivan Baroni (estatico04(AT)yahoo.com.br), Apr 05 2007
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|