OFFSET
1,1
COMMENTS
Quotients equal to a power of 10 are excluded to eliminate trivial cases, e.g., 777/.777 = 1000.
If k is in this sequence, so is 10*k. However, 10*k can be in this sequence even if k is not (e.g., 270 is in the sequence even though 27 is not). - Nathaniel Johnston, Jun 23 2011
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..750
EXAMPLE
a(1) = 21 because 21/.12 = 175;
a(6) = 57 because 57/.75 = 76.
MAPLE
isA192130 := proc(n) local d, m: d:=convert(n, base, 10): m:=n/add(d[j]*10^(-j), j=1..nops(d)): return `if`(type(m, integer) and not type(simplify(log[10](m)), integer), n, NULL): end: seq(isA192130(n), n=1..4410); # Nathaniel Johnston, Jun 23 2011
MATHEMATICA
revRec[n_, b_:10] := FromDigits[Reverse[IntegerDigits[n, b]]]/b^Length[IntegerDigits[n, b]]; Select[Range[3000], IntegerQ[#/revRec[#]] && Not[IntegerQ[Log[10, #/revRec[#]]]] &] (* Alonso del Arte, Jun 23 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Gil Broussard, Jun 23 2011
STATUS
approved