OFFSET
1,4
MAPLE
A082269 := proc(n) local prts, alln, p, i, ncand, n10 ; if n = 1 then RETURN(1) ; fi ; alln := {} ; prts := combinat[partition](n) ; for p from 1 to nops(prts) do n10 := combinat[permute](op(p, prts)) ; for i from 1 to nops(n10) do ncand := op(i, n10) ; ncand := add(op(j, ncand)*10^(j-1), j=1..nops(ncand) ) ; if gcd(ncand, n) = 1 and ncand <> n then alln := alln union {ncand} ; fi ; od ; od ; nops(alln) ; end: seq(A082269(n), n=1..16) ; # R. J. Mathar, Jul 15 2007
CROSSREFS
KEYWORD
base,more,nonn
AUTHOR
Amarnath Murthy, Apr 13 2003
EXTENSIONS
More terms from R. J. Mathar, Jul 15 2007
STATUS
approved