login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A274051 Extend S with the smallest integer a(n) not yet present in S such that a(n) divided by the first digit of a(n+1) has as remainder the last digit of a(n+1). 1

%I #10 Jun 09 2016 06:20:18

%S 1,10,20,32,40,31,21,30,42,52,64,54,60,50,62,76,51,43,53,41,65,72,80,

%T 73,61,75,63,70,86,95,74,82,91,83,92,71,87,96,100,84,93,85,94,110,120,

%U 130,140,150,160,97,81,90,170,98,180,190,200,210,220,230,240,250,260,270,280,290,302,312,300,310,301,201,211

%N Extend S with the smallest integer a(n) not yet present in S such that a(n) divided by the first digit of a(n+1) has as remainder the last digit of a(n+1).

%C 1 divided by 1 (the first digit of "10") leaves 0 (the last digit of "10").

%C 10 divided by 2 (the first digit of "20") leaves 0 (the last digit of "20")

%C 20 divided by 3 (the first digit of "32") leaves 2 (the last digit of "32")

%C 32 divided by 4 (the first digit of "40") leaves 0 (the last digit of "40")

%C 40 divided by 3 (the first digit of "31") leaves 1 (the last digit of "31")

%H Eric Angelini, <a href="/A274051/b274051.txt">Table of n, a(n) for n = 1..10000</a>

%t S = {1}; Do[k = 10; While[Or[MemberQ[S, k], Mod[S[[n]], First@ #] != Last@ # &@ IntegerDigits@ k], k++]; AppendTo[S, k], {n, 73}]; S (* _Michael De Vlieger_, Jun 08 2016 *)

%K nonn,base,look

%O 1,2

%A _Eric Angelini_ and _Hans Havermann_, Jun 08 2016

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 28 00:45 EDT 2024. Contains 374674 sequences. (Running on oeis4.)