login
A247625
Knife numbers (second version): n=concat(a,b) is divisible by a+b; a>0; b must not have leading zeros.
3
12, 18, 21, 24, 27, 36, 42, 45, 48, 54, 63, 72, 81, 84, 102, 105, 108, 110, 126, 132, 144, 147, 162, 168, 189, 198, 201, 204, 207, 209, 216, 220, 231, 243, 264, 288, 297, 306, 308, 324, 330, 396, 402, 405, 407, 408, 414, 418, 429, 432, 440, 462, 486, 495, 504, 506, 510, 528, 540, 550, 567, 594, 603, 605, 612, 616, 621, 627, 648
OFFSET
1,1
COMMENTS
Here, b must not have leading zeros but may be zero, in contrast to the subsequence A247624 and the alternate variant A247627. Sequence A247626 is less restrictive, allowing leading zeros in b.
PROG
(PARI) is(n, u=[1, 1])=n&&for(k=1, #Str(n)-1, n%(u*divrem(n, 10^k))==0&&(n%10^k)&&return(1))
CROSSREFS
Sequence in context: A257719 A071927 A362052 * A171674 A247624 A031207
KEYWORD
nonn,base
AUTHOR
M. F. Hasler and Eric Angelini, Sep 21 2014
STATUS
approved