[go: up one dir, main page]

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!)
Revision History for A058333 (Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A058333 Number of 3 X 3 matrices with elements from [0,...,(n-1)] satisfying the condition that the middle element of each row or column is the difference of the two end elements (in absolute value).
(history; published version)
#12 by Michel Marcus at Sun Jan 17 11:25:15 EST 2021
STATUS

reviewed

approved

#11 by Joerg Arndt at Sun Jan 17 06:34:42 EST 2021
STATUS

proposed

reviewed

#10 by Michel Marcus at Sat Jan 16 07:02:18 EST 2021
STATUS

editing

proposed

#9 by Michel Marcus at Sat Jan 16 07:01:37 EST 2021
FORMULA

The terms a(1) through a(30) are given by a(n)=() = (n^4+8n^3-10n^2+4n)/3.

The terms a(1) through a(1000) satisfy a(n)=() = (n^4+8n^3-10n^2+4n)/3. (End)

STATUS

proposed

editing

Discussion
Sat Jan 16 07:02
Michel Marcus: maybe rather ? : The terms a(1) through a(1000) satisfy the empirical g.f
#8 by Michael S. Branicky at Sat Jan 16 06:58:50 EST 2021
STATUS

editing

proposed

#7 by Michael S. Branicky at Sat Jan 16 06:55:41 EST 2021
LINKS

Michael S. Branicky, <a href="/A058333/b058333.txt">Table of n, a(n) for n = 1..1000</a>

FORMULA

From Michael S. Branicky, Jan 16 2021: (Start)

a(n) = Sum_{i=0..n-1} Sum_{j=0..n-1} Sum_{k=0..n-1} Sum_{l=0..n-1} [||i - k| - |j - l|| == ||i - j| - |k - l||].

The terms a(1) through a(1000) satisfy a(n)=(n^4+8n^3-10n^2+4n)/3. (End)

PROG

(Python)

from numba import njit

@njit

def a(n):

count = 0

for i in range(n):

for j in range(n):

for k in range(n):

for l in range(n):

if abs(abs(i-j) - abs(k-l)) == abs(abs(i-k) - abs(j-l)):

count += 1

return count

print([a(n) for n in range(1, 39)]) # Michael S. Branicky, Jan 16 2021

EXTENSIONS

a(31) and beyond from Michael S. Branicky, Jan 16 2021

STATUS

approved

editing

#6 by Joerg Arndt at Fri Mar 29 12:52:01 EDT 2013
STATUS

proposed

approved

#5 by Colin Barker at Fri Mar 29 12:49:18 EDT 2013
STATUS

editing

proposed

#4 by Colin Barker at Fri Mar 29 12:49:04 EDT 2013
FORMULA

Empirical g.f.: x*(x+1)*(7*x^2-10*x-1) / (x-1)^5. - Colin Barker, Mar 29 2013

STATUS

approved

editing

#3 by Russ Cox at Fri Mar 30 17:37:51 EDT 2012
AUTHOR

_John W. Layman (layman(AT)math.vt.edu), _, Dec 13 2000

Discussion
Fri Mar 30 17:37
OEIS Server: https://oeis.org/edit/global/182

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 August 30 15:13 EDT 2024. Contains 375545 sequences. (Running on oeis4.)