|
|
A284802
|
|
Fixed points of the transform A284801.
|
|
1
|
|
|
2, 8, 12, 16, 20, 38, 62, 86, 110, 148, 168, 188, 208, 228, 272, 292, 312, 332, 352, 396, 416, 436, 456, 476, 520, 540, 560, 580, 600, 698, 818, 938, 1058, 1178, 1322, 1442, 1562, 1682, 1802, 1946, 2066, 2186, 2306, 2426, 2570, 2690, 2810, 2930, 3050, 3248, 3348
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
86 is a term of the sequence because 86 in base 5 is 321, its complement in base 5 is 123 and the digit reverse is again 321 that is 86 in base 10.
|
|
MAPLE
|
P:=proc(q, h) local a, b, k, n; for n from 1 to q do a:=convert(n, base, h); b:=0;
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, 5);
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|