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!)
A286564 Triangular table A286563 reversed. 4

%I #12 Dec 07 2019 12:18:29

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

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

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

%N Triangular table A286563 reversed.

%C See A286563.

%H Antti Karttunen, <a href="/A286564/b286564.txt">Table of n, a(n) for n = 1..7875; the first 125 rows of the triangle</a>

%e The first fifteen rows of this triangular table:

%e 1,

%e 1, 1,

%e 1, 0, 1,

%e 1, 0, 2, 1,

%e 1, 0, 0, 0, 1,

%e 1, 0, 0, 1, 1, 1,

%e 1, 0, 0, 0, 0, 0, 1,

%e 1, 0, 0, 0, 1, 0, 3, 1,

%e 1, 0, 0, 0, 0, 0, 2, 0, 1,

%e 1, 0, 0, 0, 0, 1, 0, 0, 1, 1,

%e 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,

%e 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 2, 1,

%e 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,

%e 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1,

%e 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1

%t Table[If[k == 1, 1, IntegerExponent[n, k]], {n, 15}, {k, n, 1, -1}] // Flatten (* _Michael De Vlieger_, May 20 2017 *)

%o (Scheme) (define (A286564 n) (A286561bi (A002024 n) (A004736 n))) ;; For A286561bi see A286561.

%o (Python)

%o def T(n, k):

%o i=1

%o if k==1: return 1

%o while n%(k**i)==0:

%o i+=1

%o return i-1

%o for n in range(1, 21): print [T(n, k) for k in range(1, n + 1)] [::-1] # _Indranil Ghosh_, May 20 2017

%Y Cf. A286561, A286563.

%Y Cf. A169594 (row sums).

%K nonn,tabl

%O 1,9

%A _Antti Karttunen_, May 20 2017

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 March 28 05:39 EDT 2024. Contains 371235 sequences. (Running on oeis4.)