OFFSET
1,1
COMMENTS
Besides these fixed points (cycles of length 1) there are five cycles of length 2 ([9378, 9739], [518775, 522075], [5170250, 5197250], [5219475, 5249775], [5255750, 5755250]) and one cycle of length 3 ([7285, 7467, 9711]) below 8000000.
FORMULA
abs(reverse(lpd(n))-reverse(Lpf(n))) = n.
EXAMPLE
lpd(5750) = 2875; Lpf(5750) = 23; 5782 - 32 = 5750.
PROG
(PARI) {for(n=1, 34000, v=divisors(n); a=matsize(v)[2]; z=if(a>1, v[a-1], 1); p=0; while(z>0, d=divrem(z, 10); z=d[1]; p=10*p+d[2]); z=if(n==1, 1, vecmax(component(factor(n), 1))); q=0; while(z>0, d=divrem(z, 10); z=d[1]; q=10*q+d[2]); if(abs(p-q)==n, print1(n, ", ")))}
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Klaus Brockhaus, Oct 11 2002
EXTENSIONS
Offset corrected and a(7)-a(22) from Donovan Johnson, Aug 09 2010
STATUS
approved