[seqfan] Re: Divisors showing a string

M. F. Hasler oeis at hasler.fr
Sat Oct 4 19:56:40 CEST 2014


Eric,
the next one is 42. (what else...)

(PARI)
EA(n)={d=concat(apply(digits,divisors(n)));n=digits(n);for(j=0,#d-#n-1,for(i=1,#n,d[i+j]==n[i]||next(2));return(1))}
for(n=1,99,EA(n)&&print1(n","))

11,12,42,84,124,135,248,325,366,510,550,555,624,650,714,1010,1111,1525,1734,2510,3913,4020,5100,5500,5610,5625,8040,...

I hope the film was nice.

Maximilian

On Sat, Oct 4, 2014 at 12:04 PM, Eric Angelini <Eric.Angelini at kntv.be> wrote:
> Hello SeqFans,
> Let's write all divisors of 12, starting
> from the smallest one:
> {1,2,3,4,6,12}
> We see that the string < 12 > is visible
> twice (if we don't care about the commas).
> We see also two such strings in 11:
> {1,11} (overlapping accepted).
> Is the seq of such integers (showing twice their
> original string) already in the OEIS?
> (I can't find a 3rd term after 11 and 12
> to check myself, as I'm sitting in a
> movie theater, waiting for the film to start --The Drop-- and doing this in my head).
> Thanks in advance!
>
> Best,
> É.
>
> Catapulté de mon aPhone.
>
> _______________________________________________
>
> Seqfan Mailing list - http://list.seqfan.eu/



-- 
Maximilian



More information about the SeqFan mailing list