# [seqfan] Re: Multiples of 3 ending with n

Ignacio Larrosa Cañestro ilarrosa at mundo-r.com
Sat May 23 11:02:25 CEST 2015

```El 23/05/2015 a las 10:57, Ignacio Larrosa Cañestro escribió:
> El 23/05/2015 a las 10:46, Reinhard Zumkeller escribió:
>> cf.  https://oeis.org/A258083
>> Best regards
>> Reinhard
>
>
> And  a(n) = mod(-n, 3)*10^(1 + floor(log(n)/log(10)) + n ?

Forget this! It ignores repetitions ... I'm sorry.

>
>> 2015-05-23 10:33 GMT+02:00 Eric Angelini <Eric.Angelini at kntv.be>:
>>
>>> Sorry for the wrong terms -- it was
>>> too early this morning (but you caught
>>> the idea).
>>>
>>> In a similar way, we could put "n"
>>> in front and ask for the smallest
>>> next term divisible by, say, 7;
>>>
>>> T = 14,21,35,42,56,63,70,84,91,105,...
>>> Best,
>>> É.
>>>
>>>
>>>> Le 23 mai 2015 à 10:15, Ignacio Larrosa Cañestro
>>>> <ilarrosa at mundo-r.com>
>>> a écrit :
>>>>> El 23/05/2015 a las 10:12, Reinhard Zumkeller escribió:
>>>>> isn't a(6) = 6, != 36 ?
>>>>> best, R.
>>>> And a(9) = 9, != 39   ...
>>>>> 2015-05-23 7:39 GMT+02:00 Eric Angelini <Eric.Angelini at kntv.be>:
>>>>>
>>>>>> Hello SeqFans,
>>>>>> a(n) is the smallest multiple of 3 (not
>>>>>> yet present in S) that ends with "n".
>>>>>>
>>>>>> S =
>>>>>>
>>> 21,12,3,24,15,36,27,18,39,210,111,312,213,114,315,216,117,318,219,120,...
>>>
>>>>>> Best,
>>>>>> É.
>>>>>>
>>>>>> _______________________________________________
>>>>>>
>>>>>> Seqfan Mailing list - http://list.seqfan.eu/
>>>>> _______________________________________________
>>>>>
>>>>> Seqfan Mailing list - http://list.seqfan.eu/
>>>>
>>>> --
>>>> Saludos,
>>>>
>>>> Ignacio Larrosa Cañestro
>>>> A Coruña (España)
>>>> ilarrosa at mundo-r.com
>>>> http://www.xente.mundo-r.com/ilarrosa/GeoGebra/
>>>>
>>>>
>>>> _______________________________________________
>>>>
>>>> Seqfan Mailing list - http://list.seqfan.eu/
>>> _______________________________________________
>>>
>>> Seqfan Mailing list - http://list.seqfan.eu/
>>>
>> _______________________________________________
>>
>> Seqfan Mailing list - http://list.seqfan.eu/
>
>

--
Saludos,

Ignacio Larrosa Cañestro
A Coruña (España)
ilarrosa at mundo-r.com
http://www.xente.mundo-r.com/ilarrosa/GeoGebra/

```