login

Revision History for A368135

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Triangle read by rows: T(n,k) is the k-th Lie-Betti number of the Fibonacci trees of order n >= 2.
(history; published version)
#24 by N. J. A. Sloane at Tue Feb 06 11:55:55 EST 2024
STATUS

proposed

approved

#23 by Samuel J. Bevins at Sun Jan 14 20:04:12 EST 2024
STATUS

editing

proposed

#22 by Samuel J. Bevins at Thu Jan 11 15:46:34 EST 2024
NAME

allocated for Samuel J. Bevins

Triangle read by rows: T(n,k) is the k-th Lie-Betti number of the Fibonacci trees of order n >= 2.

DATA

1, 2, 2, 1, 1, 4, 11, 16, 16, 11, 4, 1, 1, 7, 33, 95, 212, 344, 444, 444, 344, 212, 95, 33, 7, 1, 1, 12, 90, 454, 1780, 5489, 14036, 29804, 54007, 83404, 111361, 128378, 128378, 111361, 83404, 54007, 29804, 14036, 5489, 1780, 454, 90, 12, 1

OFFSET

2,2

LINKS

Marco Aldi and Samuel Bevins, <a href="https://arxiv.org/abs/2212.13608">2-step Nilpotent L_oo-algebras and Hypergraphs</a>, arXiv:2212.13608 [math.CO], 2023. See page 9.

Meera Mainkar, <a href="https://arxiv.org/abs/1310.3414">Graphs and two step nilpotent Lie algebras</a>, arXiv:1310.3414 [math.DG], 2013. See page 1.

SageMath Graph Theory, <a href="https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/generators/families.html">Various families of graphs</a>, see FibonacciTree().

EXAMPLE

Triangle begins:

k=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

n=2: 1 2 2 1

n=3: 1 4 11 16 16 11 4 1

n=4: 1 7 33 95 212 344 444 444 344 212 95 33 7 1

n=5: 1 12 90 454 1780 5489 14036 29804 54007 83404 111361 128378 128378 111361 83404 54007 ...

PROG

(SageMath)

from sage.algebras.lie_algebras.lie_algebra import LieAlgebra, LieAlgebras

def BettiNumbers(graph):

D = {}

for edge in graph.edges():

e = "x" + str(edge[0])

f = "x" + str(edge[1])

D[(e, f)] = {e + f : 1}

C = (LieAlgebras(QQ).WithBasis().Graded().FiniteDimensional().

Stratified().Nilpotent())

L = LieAlgebra(QQ, D, nilpotent=True, category=C)

H = L.cohomology()

d = L.dimension() + 1

return [H[n].dimension() for n in range(d)]

# Example usage:

n = 5

X = BettiNumbers(graphs.FibonacciTree(n))

CROSSREFS

Cf. A360572 (cycle graph), A088459 (star graph), A360625 (complete graph), A360938 (ladder graph), A360937 (wheel graph).

KEYWORD

allocated

nonn,tabf

AUTHOR

Samuel J. Bevins, Jan 11 2024

STATUS

approved

editing

#21 by Samuel J. Bevins at Thu Jan 11 15:46:34 EST 2024
NAME

allocated for Samuel J. Bevins

KEYWORD

recycled

allocated

#20 by Michael De Vlieger at Thu Jan 11 09:20:33 EST 2024
STATUS

reviewed

approved

#19 by Michel Marcus at Thu Jan 11 04:05:16 EST 2024
STATUS

proposed

reviewed

#18 by Joerg Arndt at Thu Jan 11 01:53:50 EST 2024
STATUS

editing

proposed

Discussion
Thu Jan 11
02:06
Michel Marcus: pari should have been isok(k) = (k%10) && (type(k^(1/sumdigits(k))) == "t_INT");
#17 by Joerg Arndt at Thu Jan 11 01:53:42 EST 2024
NAME

Numbers k such that k^(1/digsum(k)) is integer and k is not a multiple of 10.

DATA

1, 32, 1180591620717411303424

OFFSET

1,2

COMMENTS

There are no other such numbers up to 10^50.

EXAMPLE

32 is in the sequence because the sum of the digits of 32 is 5, and the fifth root of 32 is 2, which is an integer.

PROG

(Python)

# Generates all that numbers up to 10^m

def digsum(x):

r = 0

for i in str(x): r+=int(i)

return r

def check(x, k):

n = int(x**(1/k))

if (n**k == x): print(x, k)

def recur(x, k, path, s):

if (k == 0) and (x == 0): check(path, s)

if (k == 0) and (x > 0): return

if (x < 0): return

n = min(9, k)

for i in range(n+1): recur(x-1, k-i, path*10+i, s)

# Setting the limit

m = 50

# Checking exponents 4 and 5

for k in range(4, 6): recur(m, k, 0, k)

# Checking all exponents bigger than 6

i = 2

lim = 10**m

j = i**7

while (j <= lim):

j2 = j

s = 7

while (j2 <= lim):

if (digsum(j2)==s): print(j2, s)

s+=1

j2*=i

i+=1

j = i**7

(PARI) isok(k) = (k%10) && (type(k^sumdigits(k)) == "t_INT"); \\ Michel Marcus, Dec 14 2023

CROSSREFS

Cf. A007953.

KEYWORD

nonn,hard,base

recycled

AUTHOR

Ivan Borysiuk, Dec 13 2023

#16 by Ivan Borysiuk at Sun Dec 17 06:16:31 EST 2023
EXAMPLE

32 is in the sequence because the sum of the digits of 32 is 5, and the fifth root of 32 = 2^(3+is 2), which is an integer.

Discussion
Mon Dec 18
00:29
Kevin Ryde: Some compact digsum code can be found in A007953 which you xreffed.
00:43
Kevin Ryde: I believe sympy integer_nthroot() or gmpy2 iroot() both say when their input was a perfect nth power.  (sympy perfect_power() scans a few I think but integer_nthroot is the underlying ...)
Mon Jan 08
07:18
OEIS Server: This sequence has not been edited or commented on for a week
yet is not proposed for review.  If it is ready for review, please
visit https://oeis.org/draft/A368135 and click the button that reads
"These changes are ready for review by an OEIS Editor."

Thanks.
  - The OEIS Server
#15 by Ivan Borysiuk at Sun Dec 17 06:12:05 EST 2023
PROG

if (i%1000==0): print(i, " \r", end='')

Discussion
Sun Dec 17
06:13
Ivan Borysiuk: @Kevin Ryde "There's multiple libraries with "is perfect power" test." I googled it but I didn't find nothing, can you please tell me which ones?