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!)
A154234 Triangle read by rows: T(n,k) = (n mod d(k)), where d(i) is the number of divisors of i. 3

%I #18 Sep 07 2016 00:17:29

%S 0,0,0,0,1,1,0,0,0,1,0,1,1,2,1,0,0,0,0,0,2,0,1,1,1,1,3,1,0,0,0,2,0,0,

%T 0,0,0,1,1,0,1,1,1,1,0,0,0,0,1,0,2,0,2,1,2,0,1,1,2,1,3,1,3,2,3,1,0,0,

%U 0,0,0,0,0,0,0,0,0,0,0,1,1

%N Triangle read by rows: T(n,k) = (n mod d(k)), where d(i) is the number of divisors of i.

%H G. C. Greubel, <a href="/A154234/b154234.txt">Table of n, a(n) for the first 50 rows</a>

%e The first few rows are given by:

%e 0.

%e 0 0.

%e 0 1 1.

%e 0 0 0 1.

%e 0 1 1 2 1.

%e 0 0 0 0 0 2.

%e 0 1 1 1 1 3 1.

%e 0 0 0 2 0 0 0 0.

%e 0 1 1 0 1 1 1 1 0.

%e 0 0 0 1 0 2 0 2 1 2.- _G. C. Greubel_, Sep 06 2016

%t Table[Mod[n,DivisorSigma[0,k]],{n,20},{k,n}]//Flatten (* _Harvey P. Dale_, Jul 21 2016 *)

%o (PARI) T(n,k)=n%numdiv(k) \\ _Charles R Greathouse IV_, Sep 07 2016

%Y Cf. A000005.

%K nonn,tabl,easy

%O 1,14

%A _Juri-Stepan Gerasimov_, Nov 26 2010

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 24 12:40 EDT 2024. Contains 374583 sequences. (Running on oeis4.)