OFFSET

1,1

COMMENTS

LINKS

M. F. Hasler in reply to E. Angelini, Re: Knife numbers, SeqFan list, Sep 21 2014.

EXAMPLE

All n = 10k = concat(k,0) are in this sequence, because k+0 divides n.

However, e.g., 102 is not included since the decomposition in 1+02 is not allowed (and 10+2 does not divide 102).

PROG

(PARI) is(n)=n&&for(k=1, #Str(n)-1, n%([1, 1]*divrem(n, 10^k))==0&&(k==1||n%10^k>=10^(k-1))&&return(1))

CROSSREFS

KEYWORD

nonn,base

AUTHOR

M. F. Hasler and Eric Angelini, Sep 21 2014

STATUS

approved