login
Fixed points of the transform A284809.
1

%I #9 Apr 11 2017 10:45:54

%S 4,16,24,32,40,48,56,64,72,124,204,284,364,444,524,604,684,808,880,

%T 952,1024,1096,1168,1240,1312,1384,1536,1608,1680,1752,1824,1896,1968,

%U 2040,2112,2264,2336,2408,2480,2552,2624,2696,2768,2840,2992,3064,3136,3208,3280

%N Fixed points of the transform A284809.

%e 952 is a term of the sequence because 952 in base 9 is 1267, its complement in base 9 is 7621 and the digit reverse is again 1267 that is 952 in base 10.

%p P:=proc(q,h) local a,b,k,n; for n from 1 to q do a:=convert(n,base,h); b:=0;

%p for k from 1 to nops(a) do a[k]:=h-1-a[k]; b:=h*b+a[k]; od; if b=n then print(n); fi; od; end: P(10^2,9);

%Y Cf. A035928, A284809.

%K nonn,base,easy

%O 1,1

%A _Paolo P. Lava_, Apr 04 2017