login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A082269
Number of terms in row n of A082268.
2
1, 1, 0, 5, 15, 0, 55, 85, 0, 325, 1023, 0, 3786, 4678, 0, 21809
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
Cf. A082268.
Sequence in context: A000331 A353610 A306155 * A367030 A107776 A290528
KEYWORD
base,more,nonn
AUTHOR
Amarnath Murthy, Apr 13 2003
EXTENSIONS
More terms from R. J. Mathar, Jul 15 2007
STATUS
approved