#help-33

1 messages · Page 181 of 1

buoyant jetty
#

X=2a+2b+2c

deep anvil
#

Digamos que X= [5,2,2]

#

Puedes escribir X como una combinacion lineal de los vectores en la base B?

buoyant jetty
#

X=5(4,1,2)+2(0,1,0)+2(-3,-1,-1)

deep anvil
#

Okay, creo que ya veo donde esta la confucion

#

Estas confundiendo las coordenadas, con el vector.

#

Creo que lo mas sencillo

buoyant jetty
#

(5,2,2)=a(4,1,2)+b(0,1,0)+c(-3,-1,-1)

deep anvil
#

Va a ser mostrarte el ejemplo

#

(5,2,2)=1(4,1,2)+1(0,1,0)+0(-3,-1,-1)

#

Entonces, las coordenadas del vector X con respecto a la base B son 1,1,0

#

De ahora en adelante, para evitar confundir coordenadas con vectores, escribiremos las coordenadas sin parentesis ni corchetes.

buoyant jetty
#

ok espectacular

deep anvil
#

Ahora, de vuelta a mi pregunta anterior

#

.

#

En esta situacion, tenemos las coordenadas a,b,c y la base B

#

X= ?

buoyant jetty
#

x=a(4,1,2)+b(0,1,0)+c(-3,-1,-1)

deep anvil
#

Exacto

#

Ahora, sabemos que con respecto a la base canonica, las coordenadas de x son 2a,2b,2c

#

Escribe X como una combinacion lineal con respecto a la base canonica.

buoyant jetty
#

x=2a(4,1,2)+2b(0,1,0)+2c(-3,-1,-1)

deep anvil
#

esa no es la base canonica

#

esa no es la base canonica, (1,0,0)...

buoyant jetty
#

x=2a(1,0,0)+2b(0,1,0)+2c(0,0,1)

deep anvil
#

se te olvida algo?

#

OK

#

Ahora tenemos dos ecuaciones con respecto a X

deep anvil
deep anvil
buoyant jetty
#

,w 2a(4,1,2)+2b(0,1,0)+2c(-3,-1,-1)=2a(1,0,0)+2b(0,1,0)+2c(0,0,1)

deep anvil
#

Si exactamente

buoyant jetty
#

perfect

deep anvil
#

No uses wolfram para esto

#

Porque resolver esta ecuacion no es trivial

#

Y necesitas saber como encontrar a,b,c con esta ecuacion.

deep anvil
#

del lado izquierdo de la ecuacion

buoyant jetty
#

,, \implies \begin{cases} 8a-6c=2a \ 2a+2b-2c=2b\ 4a-2c=2c \end{cases

elfin berryBOT
#

938c2cc0dcc05f2b68c4287040cfcf71
Compile Error! Click the errors reaction for more information.
(You may edit your message to recompile.)

buoyant jetty
deep anvil
buoyant jetty
deep anvil
#

y mira tu ecuacion.

buoyant jetty
#

,w a(4,1,2)+b(0,1,0)+c(-3,-1,-1)=2a(1,0,0)+2b(0,1,0)+2c(0,0,1)

elfin berryBOT
buoyant jetty
#

,, \implies \begin{cases} 4a-3c=2a \ a+b-c=2b\ 2a-c=2c \end{cases}

elfin berryBOT
#

938c2cc0dcc05f2b68c4287040cfcf71

buoyant jetty
#

,w rref {{4-2,0,-3,0},{1,1-2,-1,0},{2,0,-1-2,0}}

elfin berryBOT
buoyant jetty
#

a -(3c)/2 =0

#

b -c/2 = 0

buoyant jetty
deep anvil
#

en que

buoyant jetty
#

hay una infinidad de vectores que cumplen la respuesta

#

ya que c es libre

deep anvil
#

Si

buoyant jetty
deep anvil
#

Escribe los posibles valores de a,b,c cuando c es dado por el parametro t, en otras palabras c=t

buoyant jetty
#

can we do c = 2t

deep anvil
#

no

buoyant jetty
#

hermano

deep anvil
#

o si

#

si eso es mejor

buoyant jetty
#

a = 3t

#

b = t

#

c = 2t

deep anvil
buoyant jetty
#

x=2•3t•(1,0,0)+2•t•(0,1,0)+2•2t•(0,0,1)

deep anvil
#

si

#

y esos son los posibles vectores X.

#

fin

buoyant jetty
#

worst exercise ever

buoyant jetty
# deep anvil fin

the answer maybe needs to be in a basis form not as a linear combo

#

.closs

#

.close

marsh citrusBOT
#
Channel closed

Closed by @buoyant jetty

Use .reopen if this was a mistake.

#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

thick lava
#

.close

marsh citrusBOT
#
Channel closed

Closed by @thick lava

Use .reopen if this was a mistake.

marsh citrusBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

hidden dawn
#

Let (C) and (C'l be two circles with the respective diameters [TA] and [TB]. The circles are tangent interiorly at point T. Qe design by M and N two distinctuve points of (C) \ {T}.
(TM) and (TN) cut the circle (C') respectively at P and Q.

hidden dawn
#

Prove (PQ) // (MN) by two different methods (no trig or shape similarity allowed)

#

one method is using thales reciprocal

#

while the other is supposedly geometric angles

#

where as the methods must both satisfy both cases shown (hence why there are two figures, its case disjunction)

#

my problem is i want to prove that for both cases, mesMNT = mesPQT

marsh citrusBOT
#

@hidden dawn Has your question been resolved?

hidden dawn
#

<@&286206848099549185>

marsh citrusBOT
#

@hidden dawn Has your question been resolved?

hidden dawn
#

<@&286206848099549185>

hidden dawn
#

pweti pwez

#

<@&286206848099549185>

marsh citrusBOT
#

@hidden dawn Has your question been resolved?

hidden dawn
#

<@&286206848099549185>

hidden dawn
#

<@&286206848099549185>

marsh citrusBOT
#

@hidden dawn Has your question been resolved?

hidden dawn
#

<@&286206848099549185>

cold pecan
hidden dawn
cold pecan
#

I don't know about Thales theorem. Sorry

marsh citrusBOT
#

@hidden dawn Has your question been resolved?

marsh citrusBOT
#
Channel closed

Closed due to timeout

Use .reopen if this was a mistake.

marsh citrusBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

marsh citrusBOT
#
Channel closed

Channel closed due to the original message being deleted.
If you did not intend to do this, please open a new help channel,
as this action is irreversible, and this channel may abruptly lock.

slim turtle
#

!msgdel

marsh citrusBOT
#

The original post of this help channel has been deleted, and it will abruptly close and possibly lock. (This is irreversible.) Please claim a new channel, and don't delete the first message of any future channel you claim.

marsh citrusBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

runic bone
#

helo

marsh citrusBOT
runic bone
#

need help w this

#

for an inverse to exist

#

a function has to be one to one

#

but wb onto?

slate yarrow
#

it has to be onto also

runic bone
#

oh

#

it hsa to be bijective?

#

*has

fervent rampart
#

if f is not onto then f^(-1) would not be a function B -> A

runic bone
#

i see

#

so for this question, since it's injective, the inverse does not exist?

#

heloo

runic bone
#

i see so there are certain cases where inverse does exist

#

so in this case is the answer c?

#

because it may or may not have an inverse

slate yarrow
#

i mean if its only injective then no

runic bone
#

but what the question states, does it state it's only injective or...

fervent rampart
#

it just says it's injective

#

whether it's onto or not is unspecified

runic bone
#

so it's injective but may be bijective

#

still though it's c isnt it

#

since if it's injective only, it may or may not have an inverse

fervent rampart
#

"does not necessarily" and "may or may not" mean the same thing

runic bone
#

yeah so it's c right

marsh citrusBOT
#

@runic bone Has your question been resolved?

marsh citrusBOT
#
Channel closed

Closed due to timeout

Use .reopen if this was a mistake.

#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

bitter terrace
marsh citrusBOT
bitter terrace
#

Ans should be 4/3, what have i done wrong?

#

Oh

#

I see

#

Nvm

#

.close

marsh citrusBOT
#
Channel closed

Closed by @bitter terrace

Use .reopen if this was a mistake.

marsh citrusBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

vernal forge
#

hello, ask your question

calm harbor
marsh citrusBOT
#

@ionic mortar Has your question been resolved?

slim turtle
#

What's the question bro??

marsh citrusBOT
#
Channel closed

Closed due to timeout

Use .reopen if this was a mistake.

#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

ornate gazelle
#

Need help with using autocad to find coordinates

ornate gazelle
#

for trapezoidal rule ?

#

Unsure because autocad is so hard and won't work for me but i asked my tutor and he said use autocad but im struggling so bad

marsh citrusBOT
#

@ornate gazelle Has your question been resolved?

marsh citrusBOT
#

@ornate gazelle Has your question been resolved?

ornate gazelle
#

Need help badly pls

marsh citrusBOT
#

@ornate gazelle Has your question been resolved?

marsh citrusBOT
#
Channel closed

Closed due to timeout

Use .reopen if this was a mistake.

#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

lethal bridge
#

i need help with part ii) i dont understand the solution. why does their steps lead to finding BQ

lethal bridge
#

i dont get how this helps us find BQ

late geode
#

which line in the work do you hae an issue with?

lethal bridge
#

well its not so the algebra i have an issue with but the logic, like why do these steps find BQ i dont understand how this is really related to length BQ

late geode
#

their work works towards finding the coordinates of Q

#

BQ is the distance between B and Q
and with B and Q lying on the same horizontal line
the distance is reduced to the distance between the x coordinates of B and Q

#

and with x_B being 0,
the distance is simply the x coordinate of Q

lethal bridge
#

ohhh

#

okay thanks

#

.close

marsh citrusBOT
#
Channel closed

Closed by @lethal bridge

Use .reopen if this was a mistake.

marsh citrusBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

small stream
#

I wonder why the second function doesn't use the same method(aka definition) as the first function? They directly take the derivative

marsh citrusBOT
#

@small stream Has your question been resolved?

marsh citrusBOT
#
Channel closed

Closed due to timeout

Use .reopen if this was a mistake.

#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

swift bronze
marsh citrusBOT
swift bronze
#

Can someone help with 32

marsh citrusBOT
#

@swift bronze Has your question been resolved?

marsh citrusBOT
#
Channel closed

Closed due to timeout

Use .reopen if this was a mistake.

#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

gray nymph
#

.open

tranquil depot
#

for this question, to find the LCM, i tried using the method where you put the common prime factors in the middle of the venn diagram then mutliply it by the rest of the terms in the venn diagram. However when i tried this method it was wrong ??

amber birch
#

so for example, the highest power of 2 in X, Y, Z is 2^8

#

the highest power of 5 is 5^3

#

and the highest power of 7 is 7

#

so LCM = 2^8 * 5^3 * 7

amber birch
#

for the HCF of any number of numbers it should be fine

marsh citrusBOT
#

@tranquil depot Has your question been resolved?

marsh citrusBOT
#
Channel closed

Closed due to timeout

Use .reopen if this was a mistake.

#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

still temple
#

Is this ven diagram colouring correct?

marsh citrusBOT
#

Please don't occupy multiple help channels.

main idol
#

No

midnight rose
#

the cyan part

midnight rose
#

when you see B U C think like the B and C circle get united under 1 single circle

still temple
#

Its this yeah?

midnight rose
#

yes

still temple
#

Thank you man

#

.close

marsh citrusBOT
#
Channel closed

Closed by @silent lagoon

Use .reopen if this was a mistake.

marsh citrusBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

fair gate
marsh citrusBOT
fair gate
#

I need help with c, d, and e, how do I evaluate this without a calculator?

#

<@&286206848099549185>

#

Idk how I got the answer to c

grand radish
#

1/125 = (125)^-1

fair gate
#

What's that?

grand radish
#

for e)

fair gate
#

How does that work?

grand radish
vagrant gull
marsh citrusBOT
# fair gate <@&286206848099549185>

Please only use the <@&286206848099549185> ping once if your question has not been answered for 15 minutes. Please do not ping or DM individual users about your question.

still temple
# fair gate How does that work?

u can take -1 in front of the log and also the 25 as base can be 5^2 and u can take the 2 out as 1/2 in front so

-1/2 log_5 (125) = 3 = log_25 (1/125)

fair gate
#

There's no -1

still temple
#

but when u take the a in 1/a

#

it becomes

#

a^-1

#

a can be anything.

fair gate
#

So we take the 1 out of the 1/125

#

And becomes a -1

still temple
#

no

grand radish
#

1/125 can be written as (125)^-1

fair gate
#

Alr then what

grand radish
#

simplify

fair gate
#

How do I do that without a calculator

vagrant gull
#

by hand

grand radish
#

base of log is 25

#

which is 5^2

#

log_b^k (x) = (1/k)log_b(x)

fair gate
#

Ok

grand radish
grand radish
#

I think this is enough

fair gate
#

This makes no sense

still temple
#

well how u end up on log without knowing 1/a = a^-1 i suggest taking some time to learn that

fair gate
#

Can someone actually help me?

night mica
grand radish
#

JEE

#

useful

amber birch
#

well it follows from change of base

#

but yeah I wish 3b1b's Triangle of Power video was more commonly known

fair gate
#

Is it -3/2?

grand radish
#

there's more properties about log

#

i mean results

still temple
fair gate
#

5^-3 = 1/125

still temple
#

yes

#

fair gate
#

5² = 25

still temple
#

yess

night mica
fair gate
#

What about the other 2?

#

C and d

#

Anyone?

#

Please I have a quiz about this on Monday

#

Im fried

still temple
# fair gate

take the 1/3 in front then apply
log (ab) = log a + log b

#

for d

#

or just take convert 16 into 2^4

fair gate
#

Where would I put it?

#

I'm confused on how it would look

still temple
#

they way u did e

#

its same

fair gate
#

Oh so 2^1/3

still temple
#

no not in reciprocal

still temple
fair gate
#

Isn't that what it was?

still temple
#

yeah i wanted to show u

#

now what will u do?

#

what u did in e?

#

@fair gate say smth

#

lmao

fair gate
#

Idk

#

Nothing

still temple
#

bro

fair gate
#

Idk what to write down

still temple
#

u just did the e problem

#

anyways

#

use these ^

#

learn them

#

put it on ur phone wallpaper

#

look at that table and solve

#

log_2 (16^1/3)

fair gate
#

What is p log

still temple
#

p is power

#

like -1 was

#

in the e problem

fair gate
#

Ok so what's the answer for d?

still temple
#

man i gave u everything u need to solve lmao

fair gate
#

My teacher says 4/3

#

My brain is fried

#

I actually don't understand

still temple
#

my suggestion: get a book on algebra and grind the problems thats the only way

fair gate
#

Ima go ask ai

still temple
#

answers

#

lmao

#

u will end up worse

still temple
#

rules

#

and solve the problems

marsh citrusBOT
#

@fair gate Has your question been resolved?

marsh citrusBOT
#
Channel closed

Closed due to timeout

Use .reopen if this was a mistake.

marsh citrusBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

eternal fog
marsh citrusBOT
eternal fog
#

I know that y = 25-3x / 4

#

and I have to substitute it into x^2+y^2=25

still temple
#

you're tasked with two things really

eternal fog
#

so

#

x^2 + (25-3x / 4)^2 = 25

eternal fog
still temple
# eternal fog which is

well, you wanna show that this is in fact tangent to the circle (it intersects the circle at one point and only one point) and find said intersection

eternal fog
#

Yeah I read the question

still temple
#

have you taken calculus yet?

#

@eternal fog

#

if not that's fine

#

we can solve it like this too

eternal fog
#

.close

marsh citrusBOT
#
Channel closed

Closed by @eternal fog

Use .reopen if this was a mistake.

marsh citrusBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

fast geyser
#

Can someone please explain why youre allowed to do this ?

fast geyser
#

just making everything a power on e

#

is it only allowed for E , or is it allowed for any base

main idol
#

ln is log base e

knotty elbow
#

It's allowed for any base, they chose e because it cancels out the natural logorithm

fast geyser
#

ok thank u very much

#

.close

marsh citrusBOT
#
Channel closed

Closed by @fast geyser

Use .reopen if this was a mistake.

marsh citrusBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

rotund blade
#

Before you is a board containing an m x n grid and a collection of outwardly blank tiles. There is one tile for every empty space on the grid, and whenever a tile is placed, the letter "C", "A", or "T" mysteriously reveals itself. Beside the grid, beams of light tally the numbers of each letter remaining. Below the grid, an inscription reads: "Tile the board without spelling 'CAT' and you shall be rewarded with a harem of catgirls. Beware, however, if at any point the word 'CAT' is spelled horizontally, vertically, or diagonally, the catgirls will maul you to death. Many adventurers have perished here before you; Continue at your own peril."

What are your chances of survival if you continue?

You ruminate on this question for several hours, until a voice of unknown origin jolts you to the surface. "Many adventures have come here before you. Some, blinded by their desire, continued impulsively, and were met with their fate. Some, wiser, rejected the offer without hesitation, and went on their way. Some, wiser still, carefully weighed the risks before deciding. You, the most foolish of all, have pondered aimlessly for 18 hours without a hint of progress; a degree of complacency which would put even an eternal being to shame. Therefore I will curse you for your inaction. I will place you into a deep sleep which will end only when the exact answer is calculated. You acted as if you had all the time in the world, and now all the time in the world has been given to you."

How can you awaken from this nightmare?

rotund blade
#

Ok so I had an idea that we could imagine the grid was already filled with one letter in the "background" and then we just have to figure out how the remaining two letters could be placed

unique basin
#

Not really sure how to solve but it might help to create a small scale scenario to test strategies

#

Try maybe 4x3 or larger

#

Are the number of tiles equal to spaces in the grid?

rotund blade
#

"There is one tile for every empty space on the grid"

rotund blade
#

but that could work as well

unique basin
#

If I had to solve this problem, which would be naively on my part, i would do an example of maybe 5x4 size and give a near equal allotment of tiles

My intuition tells me it will be harder to do this with the number of each tile being equal or close in value

rotund blade
#

yes, I agree

unique basin
#

I would try to develop an m x n strategy around that

#

Unfortunately i don't know a real way to solve it

rotund blade
#

the number of combinations is higher the more equal they are

unique basin
#

Yea and you will "run out" of certain tiles more quickly

#

You need one of each to spell the word

rotund blade
#

yes

marsh citrusBOT
#

@rotund blade Has your question been resolved?

marsh citrusBOT
#

@rotund blade Has your question been resolved?

jaunty mica
#

@arctic hare

rotund blade
#

ok let's say there's 1 'C', 1 'A', and m*n - 2 'T's

#

there are m*n possible locations for the 'A', and m*n - 1 possible locations for the 'C'

#

so total permutations = mn(mn - 1) = mn permute 2

#

if the 'A' is in the corner, three locations for the 'C' will spell CAT, if the 'A' is on the edge but not the corner, five locations for the 'C' will spell 'CAT', for everywhere else, 8 locations for the 'C' will spell 'CAT'

#

there's 4 corners, 2m + 2n - 8 edges, and then mn - 4 - (2m + 2n -8) center spaces

#

ways to fail are

#

3(4) + 5(2m + 2n - 8) + 8(mn - 4 - (2m + 2n -8))

#

12 + 10m + 10n - 40 +8mn -32 -16m -16n + 64
=4 - 6m - 6n + 8mn

#

so chance of survival is
1 - (4 - 6m - 6n + 8mn)/(mn(mn - 1))

#

I think

finite glacier
#

i have a question

#

is the beam of light showing no of letters done first or last

#

like is P(1 C, 1 A , 31 T) = P(11 C, 11 A, 11 T)

#

having that amount of c, a, t

#

or is each tile just indiviuadlly one of the 3 letters at random

rotund blade
#

it shows the number of letters remaining

finite glacier
#

ok

rotund blade
#

so at the beginning it will show x 'C's, y 'A's, z 'T's such that x + y + z = m*n

finite glacier
#

ohh

#

and are you trying to generalize for all values x, y, z

rotund blade
#

and at the end it will show 0 'C's, 0 'A's, 0 'T's

#

yes

finite glacier
#

ok

#

i see

#

honestly i think you should just code it for small values of m, n and see if you find a pattern

rotund blade
#

not a bad idea

marsh citrusBOT
#

@rotund blade Has your question been resolved?

sand fable
crystal lintel
marsh citrusBOT
#

@rotund blade Has your question been resolved?

void elm
rotund blade
marsh citrusBOT
#

@rotund blade Has your question been resolved?

marsh citrusBOT
#

@rotund blade Has your question been resolved?

subtle citrus
rotund blade
#

Any thoughts on how to write an efficient algorithm to do this? Obviously there are reflective symmetries we can take advantage of

#

I think we can use dynamic programming here but I don’t have much experience with it

crystal lintel
#

i’m still not sure how to deal with the letters being in fixed amounts (as opposed to each one being equiprobable on every draw) in an efficient way

crystal lintel
#

well hm that might just mean the idea i shared a while ago isn’t a good one

#

,w expand (\sum{i=1}^{30}x^i)^3

crystal lintel
#

,calc 3^(7*2)

elfin berryBOT
#

Result:

4.782969e+6
crystal lintel
#

,calc 3^(72) - 3^(72-3)*10

elfin berryBOT
#

Result:

3.011499e+6
crystal lintel
#

i was trying to think about something else but tbh maybe my old idea could be decent

crystal lintel
#

,w expand (\sum{i=1}^{40}x^i) (\sum{i=1}^{40}x^i) (\sum{i=1}^{10}x^i)

rotund blade
crystal lintel
# rotund blade I’m confused on the relevance of this sum

for each i, the coefficient of x^i is the number of integer triples (a,b,c) with a + b + c = i and 1 <= a, b, c <= 30. so like if if the problem was for a 9 x 10 board and you had 30 of each letter, one of those coefficients would be how many “cases” there are for how many of each letter you can use when you are using i letters in total (which is relevant to my dynamic programming idea)

crystal lintel
#

i was just trying to get a sense of the numbers is all

#

i'm gonna try to hack something together today

#

won't be revolutionary but it will go far past what brute force can if my vision is correct

rotund blade
crystal lintel
#

yea

rotund blade
#

ok cool I got it

rotund blade
#

I'm trying to figure out if there's some kind of recursive formula here and I haven't been able to come up with anything

crystal lintel
#

oh actually the indices should start at 0 not 1 since you can use no letters of a certain type if you're not using all of them

#

,w expand (\sum{i=0}^{30}x^i)^3

crystal lintel
#

not much worse

rotund blade
#

uhhh don't we want 1 <= a <= 30?

crystal lintel
#

no, but gtg for a bit, will explain later

rotund blade
#

ok

honest pollen
#

Help

crystal lintel
# rotund blade ok

along the way we might solve the problem, with the original at most 30 of each letter constraint, for 2 x 9 boards, then 3 x 9 boards, and so on (and keep track of things about the solution for n x 9 to to use for the (n+1) x 9 solution) until we solve it for 10 x 9. but for say 2 x 9, there are lots of valid boards that omit a letter

frozen bronze
#

help me guys

rotund blade
crystal lintel
marsh citrusBOT
#

@rotund blade Has your question been resolved?

rotund blade
#

I thought about doing inclusion-exclusion but even just “at least two cats” seems hard

#

Especially when they can overlap

crystal lintel
#

i don't want to touch inclusion-exclusion with a 10 foot pole

rotund blade
crystal lintel
#

i meant this particular problem but also in general ig joyspin

rotund blade
crystal lintel
#

if there are > 3 sets involved (and it's not simple) i will do something else if i can

#

i'm pretty bad with it tbh

rotund blade
crystal lintel
rotund blade
#

does anyone know anything about proving np-completeness or np-hard? I was wondering if we could just prove that this problem was np hard and call it a day

crystal lintel
#

that wouldn't really affect my interest in the problem

rotund blade
#

it would mean the problem can't be solved with dynamic programming afaik

crystal lintel
#

what is the goal now? there wasn't any algorithm complexity specification or target cases in the original post

rotund blade
#

Sure

#

I don’t think it would be too difficult to brute force

crystal lintel
#

for me the problem is just have fun and make the best algorithm you can

rotund blade
#

I see

#

Maybe we should just start with a brute force algorithm and see if we can improve it

crystal lintel
#

yea we should be able to do that

rotund blade
#

Ok :)

crystal lintel
#

it may or may not be hopeless to compute the # of ways for large grids but we can at least go far past what brute force can

rotund blade
#

The hard part is that is finding an efficient “cat” detection algorithm

#

Because right now the only one I have in mind is O(n^2)

crystal lintel
#

hm

rotund blade
#

And we would have to essentially run that any possible grid

crystal lintel
#

you could just go through each square and if you see a c, look at the neighbors. if there is an a, check if it extends to a t

rotund blade
#

Ah true

#

In fact we should search whichever letter is used the least.

crystal lintel
#

yea if we know what it is

rotund blade
#

a, b, c are inputs right?

crystal lintel
#

which we probably could depending on how we generate the grids

rotund blade
#

We just select the smallest

#

Ah ok

crystal lintel
#

oh yea the amount of each letter is fixed

rotund blade
#

Yes

crystal lintel
#

i was thinking we would have to go through and count them to find which is used the least if we don't already know it somehow and at that point it would probably be a waste of time but it will be the same for every grid lol

rotund blade
#

I see

crystal lintel
#

here is a way to generate all the possible grids with just itertools. say we have c C's, a A's, and t T's. think of the set X as the set of indices (i,j) in the m x n grid. loop over combinations(X, c) (so those will be where the c's go). for each of those you'll have mn - c indices left. call that set Y. combinations(Y, a) and the a's will go there. then the t's go in the remaining indices

#

this way you actually know exactly where each letter is

#

so if you choose the least used one for the neighbor search you don't have to go through all of them to check where they are

rotund blade
#

my idea was to fill one square at a time, starting from the center and spiraling outward

#

the idea is as soon as "cat" is spelled in the central squares, we don't have to check any more grids

#

because the outside combinations don't matter if we're already spelled cat in the center

#

we start in the center because that's where we're most likely to spell cat early

crystal lintel
#

sounds backtrack-y

rotund blade
#

yeah it's recursive

rotund blade
#

here's an example of how I would explore the grid

#

it would probably be best to write an iterator for this path so that we don't have to calculate the index every time

#

actually I should probably just do this lol

crystal lintel
#

hm i'm not sure how much the order matters

rotund blade
#

Does that make sense?

rotund blade
#

the suspense is killing me

crystal lintel
#

does the algorithm go like this? first generate all 1 square grids (treating that like the middle one), then 2 square grids, and so on (where an n square grid means using whatever squares are labelled 1 to n). and do this by taking all the size n grids and trying each of the 3 letters on the new square and checking it doesn’t make cat to get size n+1 grids?

rotund blade
#

#successes where this square is "C" (if any C's remain)

  • #successes where this square is "A" (if any A's remain)
    +#successes where this square is "T" (if any T's remain)
#

then the base case is return 1 if we fill the grid without spelling cat

#

and return 0 when we spell cat

rotund blade
#

it's essentially brute force

#

but we can optimize it by starting in the center so that we hit a base case as early as possible

crystal lintel
#

i don’t understand

rotund blade
#

oh :(

#

sorry

crystal lintel
#

loll dw i’m dumb

rotund blade
#

lol you're fine don't say that

#

so essentially we're counting the number of grids without "cat"

#

the total number of grids is easy to calculate

crystal lintel
#

yep

rotund blade
#

so if we know the number of grids without "cat", we can just diivde to find the probabilty

#

ok cool

crystal lintel
#

yep

rotund blade
#

so each square has only three possibilities

#

for each square

#

Starting at the first square, rather
we want the #grids that don't spell cat where this is C, then the #grids that dont' spell cat where this is A, and the #grids that dont' spell cat where this is T

#

to calculate this

#

we imagine three different girds

#

one with C in the center
one with A in the center
and so on

crystal lintel
#

sure

rotund blade
#

then for the next square we consider the 3 possible letters it can be

#

and so on

crystal lintel
#

yep

rotund blade
#

ok does that make sense?

#

what part don't you understand ig

crystal lintel
#

well if that’s not like what i said (also there should be a letter amount tracking thing but i didn’t mention it) then i’m not sure what you mean

rotund blade
#

woops

#

lol

#

makes it format

#

"#"

#

number of distcint grids without cat

rotund blade
#

follow

crystal lintel
#

oh

crystal lintel
# rotund blade

if you did it like this, will you, at some point, have all the valid (no cat, follows letter amount constraints) size 48 grids enumerated?

rotund blade
#

I think so

#

yes

crystal lintel
#

how do you get the size 49 grids then?

#

just go through each size 48 grid and try c, a, and t on square 49 for each of them to see what makes a valid grid?

rotund blade
#

I was using a fixed size

#

sorry I'm working rn I'll respond when I get a chance

crystal lintel
#

all good

rotund blade
#

it's brute force it's not dynamic programming

crystal lintel
#

yea

rotund blade
#

ok does that clear things up? sorry for the confusion

crystal lintel
#

i’m still not sure we’re on the same page haha

crystal lintel
rotund blade
#

running the calculation for 100 different inputs takes 100x as long

crystal lintel
#

oh then yea ok

rotund blade
#

ok cool :)

rotund blade
crystal lintel
#

i’m still not 100% on what your algorithm is but it’s ok. i still want to implement my dynamic programming idea

rotund blade
#

sounds good

#

also I hope you feel better

crystal lintel
#

i will not

crystal lintel
#

i need to lock in

#

i didn’t think about this at all today

rotund blade
#

it's ok to have a life you know

rotund blade
#

I got my index gen to work at least

#

    #start in center
    start = [rows // 2, columns // 2]
    yield start

    #move east
    current = [start[0], start[1] + 1]
    if 0 <= current[0] < rows and 0 <= current[1] < columns:
        yield current


    for distance in range(1, rows // 2 + columns // 2 + 1):

        #move northwest
        for _ in range(distance):
            current = [current[0] - 1, current[1] - 1]
            if 0 <= current[0] < rows and 0 <= current[1] < columns:
                yield current

        #move southwest
        for _ in range(distance):
            current = [current[0] + 1, current[1] - 1]
            if 0 <= current[0] < rows and 0 <= current[1] < columns:
                yield current

        #move southeast
        for _ in range(distance):
            current = [current[0] + 1, current[1] + 1]
            if 0 <= current[0] < rows and 0 <= current[1] < columns:
                yield current

        #move northeast
        for _ in range(distance - 1):
            current = [current[0] - 1, current[1] + 1]
            if 0 <= current[0] < rows and 0 <= current[1] < columns:
                yield current

        #move eastnortheast
        current = [current[0] - 1, current[1] + 2]
        if 0 <= current[0] < rows and 0 <= current[1] < columns:
            yield current```
#
[1, 1]
[1, 2]
[0, 1]
[1, 0]
[2, 1]
[0, 2]
[0, 0]
[2, 0]
[2, 2]

traversing 3 x 4 grid
[1, 2]
[1, 3]
[0, 2]
[1, 1]
[2, 2]
[0, 3]
[0, 1]
[1, 0]
[2, 1]
[2, 3]
[0, 0]
[2, 0]

traversing 4 x 3 grid
[2, 1]
[2, 2]
[1, 1]
[2, 0]
[3, 1]
[1, 2]
[0, 1]
[1, 0]
[3, 0]
[3, 2]
[0, 2]
[0, 0]

traversing 2 x 5 grid
[1, 2]
[1, 3]
[0, 2]
[1, 1]
[1, 4]
[0, 3]
[0, 1]
[1, 0]
[0, 4]
[0, 0]```
#

it actually steps outside the boundaries of the grid then just checks whether it's inside the grid at every step. It was easier to code that way

#

so for a 3x3 it works like this

crystal lintel
#

nice

crystal lintel
#

this problem 🥵

void elm
crystal lintel
#

it's such a banger

#

i'm a little bit locked in rn

crystal lintel
#

AHAHAHAHA i'm so dumb

#

i accidentally just wrote wrong code that would correct if we were playing the game on a torus

#

list index out of range

rotund blade
#

I almost got a solution that works I want to clean up the code a bit though

crystal lintel
#

wait i need to clarify

#

tac counts as cat right

rotund blade
#

it's cat in any direction

#

so yeah

crystal lintel
#

ok

rotund blade
crystal lintel
#

here is a function that will check an arbitrary board for an instance of cat

index_adjusts = list(it.product((0,1,-1),repeat=2))
index_adjusts.remove((0,0))
index_adjusts2 = [(2*x[0],2*x[1]) for x in index_adjusts]

def check_cat(A,rows,cols):
    for r in range(rows):
        for c in range(cols):
            if A[r][c] == 1:
                for k in range(8):
                    adjust = index_adjusts[k]
                    adjust2 = index_adjusts2[k]
                    ij_1 = (r+adjust[0],c+adjust[1])
                    ij_2 = (r+adjust2[0],c+adjust2[1])
                    skip = 0
                    for ij in [ij_1,ij_2]:
                        if ij[0] < 0 or ij[0] >= rows or ij[1] < 0 or ij[1] >= cols:
                            skip = 1
                            break                    
                    if not skip and A[ij_1[0]][ij_1[1]] == 2 and A[ij_2[0]][ij_2[1]] == 3:
                        return 1
    return 0```
#

example:

rotund blade
#

that's a lot of nested loops/conditions

crystal lintel
#

well it's gonna be plenty fast for my purposes

#

the loops are just to go over each square

#

so there aren't very many

#

it just checks for 1s and then for each 1 checks if there are any neighbors 2 -> 3

crystal lintel
rotund blade
#

I spend way too long just figuring out what to name everything

crystal lintel
#

sometimes i think about variable names a lot

rotund blade
#

I get off work in an hour I'll try to finish up my code then

crystal lintel
#

there's just one thing i need to thonk about a little bit

crystal lintel
#

i will only ever need to use it on small boards and not very many of them so it's ok

#

maybe i won't even end up using this

#

i think i will just make a specialized one for one of my purposes

#

and then the other purpose it's kinda silly to use this checking function for but it's also fine

rotund blade
#

@crystal lintel are you using jupyter notebooks?

crystal lintel
#

yes

rotund blade
#

I see

#

I need to install that I use pycharm normally

crystal lintel
#

i swear by sagemath so that is why

void elm
#

Existentialistic/JPUAB always has very nice questions

rotund blade
#

I always feel like they're too high level

#

Maybe I'll ask more

void elm
#

I like your questions

#

it definitely doesn't fit super well into any of the math channels though

crystal lintel
#

i should be using 0 1 2 rather than 1 2 3

rotund blade
#

or use "c", "a", and "t"

crystal lintel
#

no way

rotund blade
#

results for 3x3 grid with 7 c's, 1 a's, 1 t's:
wins: 56, total: 72.0
winrate: 77.7778%

#

results for 4x4 grid with 5 c's, 6 a's, 5 t's:
wins: 255304, total: 2018016.0
winrate: 12.6512%

#

then this in another file:

from brute_force import calc_winrate

def main():
    calc_winrate(4,4,5,6,5)

if __name__ == '__main__':
    main()
#

@crystal lintel any luck?

crystal lintel
#

my algorithm isn't done but one of those agrees with the original post #help-29 message

rotund blade
#

now it's

#

results for 4x4 grid with 5 c's, 6 a's, 5 t's:
wins: 255304, total: 2018016
winrate: 12.6512%

#

oh wins stayed the same...

#

oh

#

it's because some of my checks are redundant

#

I'm surprised I didn't get any false positives though

#

Oh I know why it's literally impossible kekw

#

I'm always on the outside of the grid so I can never find "cat" spelled starting in the middle

#
            for row_delta in [-1, 0, 1]:
                for col_delta in [-1, 0, 1]:
                    if row_delta == col_delta == 0:
                        continue
                    index2 = [index[0] + row_delta, index[1] + col_delta]
                    index3 = [index[0] - row_delta, index[1] - col_delta]
                    if 0 <= index2[0] < len(grid) and 0 <= index2[1] < len(grid[0]):
                        if 0 <= index3[0] < len(grid) and 0 <= index3[1] < len(grid[0]):
                            if grid[index2[0]][index2[1]] == "c" and grid[index3[0]][index3[1]] == "t":
                                return True```
#

so this never returns true

#

@crystal lintel on a scale of Alcatraz to Guantanamo Bay how locked in are you?

crystal lintel
#

guantanamo bay

void elm
rotund blade
#

ok let me know if you have any questions/need any help

crystal lintel
#

what's the most your algorithm can handle?

rotund blade
#

uhh

#

I've been running calc_winrate(5,5, 8,9,8) for several minutes now

#

and it still isn't done

#

I need to get rid of the print statements though

#

that will speed things up

crystal lintel
#

cool

#

i just used yield for the first time ever

#

i feel powerful

rotund blade
crystal lintel
#

yea i'm gonna start using it more

#

i didn't even know how it worked at all but i had seen people mention you can make generators with it

#

so i just tried it and it worked how i expected

rotund blade
crystal lintel
#

this is so good

#

aaaaaaaaaaaaaaaaaaaaaaaa

#

so complicated

rotund blade
#

(sorry)

rotund blade
#

Oh also I got this output

#

results for 4x5 grid with 6 c's, 7 a's, 7 t's:
wins: 8003768, total: 133024320
winrate: 6.0168%

#

took a few minutes though

crystal lintel
#

dynamic programming but there's something i'm trying to do that i've never done before

rotund blade
#

alright well good luck

crystal lintel
#

I LOVE HASH TABLES SO MUCH

#

🥵

#

sorry i'm eating salsa and it's hot

#

hm do even need a dictionary for the letter amounts of the endings

#

i think no

#

just the rows

crystal lintel
#

then we'll never need them again

rotund blade
crystal lintel
#

i will when it is done

rotund blade
#

ok

crystal lintel
#

(this is all rambling to myself) we just want to start with a dictionary with keys as the endings and each of their values is another dictionary which has all the 3-compositions of 2*n, and their values are the amount of endings that have letter amounts corresponding to the compositions

#

then we have a dictionary that stores which rows each ending can have appended onto them to get another valid board

crystal lintel
#

and count the letter amounts etc and add them to the next dictionary

#

and voila that should do it

#

ok i still have to code a lot though

crystal lintel
#

it's coming along

rotund blade
#

༼ つ ◕◕ ༽つ @crystal lintel TAKE MY ENERGY ༼ つ ◕◕ ༽つ

crystal lintel
#

unhashable type: 'numpy.ndarray'

#

.-.

rotund blade
crystal lintel
#

i know

#

i just felt .-.

#

and wanted to share

#

now i need to go change some things to tuples

#

and change np.add

rotund blade
#

it still might not let you use them as keys

crystal lintel
#

it's fine. i'm just gonna change them to tuples and use an ad hoc pointwise addition function

#

guh that's so much slower

#

it is what it is

#

i could maybe speed it up in the most annoying way imaginable hmmge

#

but i'll just not do that right now

#

ok i'm on to the last stage

#

hm i need to go back and do something

#

rip

#

getting closer....

#

ok there's another thing i could speed up but i'll just skip it for now

#

or maybe i should do it now

#

i'm trying to memoize so many things and it's getting overwhelming to keep track of

#

and each memoized thing is like a dictionary with values that are dictionaries

#

i can do this

rotund blade
#

@crystal lintel please get some sleep

crystal lintel
#

it's too late for that

rotund blade
crystal lintel
#

i must work while i can before the bad thoughts come back

rotund blade
crystal lintel
crystal lintel
crystal lintel
#

the numbers on the right sum to 66 (that's the "answer" it outputs)

crystal lintel
# crystal lintel

this means that e.g. there are 4 boards with bottom two rows

ccc
ccc```
#

which makes sense

#

you have 1 of each of the rest of the letters, so 6 ways to permute them, two of them spell cat

#

the bottom two rows don't affect that

#

but some of these must be wrong

#

(this is just debugging)

crystal lintel
#

ok this is an issue because

001
002

only has one choice for a top row and it makes a 012

#

an aha my algorithm does believe 002 can be appended below

000
001

to make a valid board

crystal lintel
#

5x5 with 8,9,8 letters btw

#

,calc 521346034/((25!)/(8!*8!*9!))

elfin berryBOT
#

Result:

0.019828254065971
crystal lintel
#

yea you're cooked if you play 5x5

rotund blade
crystal lintel
rotund blade
#

Uh

#

Not like that LOL

#

I meant I fell asleep while you were finishing the code

crystal lintel
#

i know haha

rotund blade
#

😅

wanton trout
#

what's the problem statement? thonkg

#

just curious!

crystal lintel
#

i need to change (and probably just redo) my algorithm for speed because it's very hacked together rn

rotund blade
rotund blade
rotund blade
#

Men, throughout history, have behaved far more recklessly for women.

void elm
rotund blade
#

shots fired

crystal lintel
#

i don't think it's going to be very comprehensible rn and i don't want to explain and some things are very poorly written so i don't really want to share it yet

crystal lintel
#

didn't get a chance to work on it today and i'll probably try to not stay up to 11 am again

rotund blade
crystal lintel
#

too bad

rotund blade
#

(in all seriousness, no worries, take your time, and please don't stay up to 11am again kthxbye)

tight furnace
#

This is the damn "don't find the fox" game

#

It could probably be done with DP in like O(3^min(m,n))

rotund blade
tight furnace
#

how are are you that it's possible?

rotund blade
#

how are are you that it's possible?

#

did you mean "how sure are you?"

#

I have no idea that's why I'm asking lol

rotund blade
#

I misread it as O(min(n, m)^3)

tight furnace
#

yeah how sure are you lol

#

rip

#

I wouldn't expect there to be a better solution but who knows

rotund blade
rotund blade
#

<@&268886789983436800>

#

Ty

tight furnace
#

She might only do a recursive search through all combos where she stops immediately when CAT is created

#

Still O(k^mn) for some k slightly less than 3

#

I'd be very impressed if she used the DP solution

crystal lintel
#

my algorithm isn’t a recursive search

#

it is dp but i don’t think it’s O(3^min(m,n))

#

because either i am dealing with the fact that there are an exact amount of letters you need to use poorly, or you’ve overlooked the difficulty of that

twilit geyser
#

Me mourning the loss of the many adventurers that have perished here before me as I consider if I should continue at my own peril

rotund blade
#

Something I wrote has become memified I feel like that’s an achievement

soft sierra
#

.unlist

crystal lintel
#

you will never unlist this channel

void elm
#

just don’t let anybody close this one, this time

tight furnace
#

Ah right the specific letter limit

#

That makes things a little more complicated

#

DP[cell that you're working on now] [values of the last n cells][remaining numbers of each letter]

#

3^n * (mn)^2?

crystal lintel
#

even though it's more letters

#

i'm trying a 20 x 3 board now

#

i think it'll finish

#

ok it finished

#

very hopeless to recursive search that

#

i'll report back with 50 x 3 when it finishes cursedblush

#

the letter amount constraints suck because in addition to just making way more states i can't compute the answer for f(3,3), f(4,3), f(5,3) etc (with evenly split letters) all at once

#

f(m,n,a,b,c) is the amount of cat-less m x n boards with a,b,c letter amounts let's say

crystal lintel
#

so in the subproblems we have more letters than squares which is not the problem we care about

#

,w expand (\sum{i=0}^{50}x^i)^3

crystal lintel
#

,w expand (\sum{i=0}^{20}x^i)^3

rotund blade
#

are you 100% sure that's accurate?

#

oh 10x3

#

nvm

#

that's reasonable

rotund blade
tight furnace
# crystal lintel even though it's more letters

More letters but less possible spots for words:

5x5: 15 vertical spots, 15 horizontal spots, 9 diagonal spots in each direction = 48

3x10: 10 vertical spots, 16 horizontal spots, 8 diagonal spots in each direction = 42

crystal lintel
#

i like to make suspense

#

plus you're my archenemy so i shouldn't send it

#

speeding my code up in the ways i envision would not really change the runtime on computing f(m,3,a,b,c) btw

#

20 mins and 50 x 3 is still not done

#

i have hope though

crystal lintel
rotund blade
crystal lintel
#

perfect archenemy activity

#

you're definitely cooked if you play 50 x 3

rotund blade
crystal lintel
#

idk ask someone else i like boys

#

rip f(3,2,a,b,c), f(3,3,a,b,c), f(3,4,a,b,c) (where a,b,c are evenly split) doesn't seem to have any relevant oeis pages

#

some values of f(3,n) if you are interested

crystal lintel
#

f(10,4,13,13,14)

rotund blade
crystal lintel
#

ya

#

any values of f people want?

rotund blade
crystal lintel
#

what letter distributions?

rotund blade
#

unsure

#

I think what's going to matter is something like min(c, a, t)

crystal lintel
#

here are some values when n (well m in my notation) is a multiple of 3 just to allow even letter distributions

crystal lintel
rotund blade
crystal lintel
#

sorry

rotund blade
crystal lintel
#

do we have a 1 x n formula 😂

#

even that seems potentially difficult but i haven’t thought about it

rotund blade
rotund blade
zinc tinsel
#

whats the question

void elm
crystal lintel
#

what’s the relation?

rotund blade
#

For n = 4, p(4) = 5:

cat, cat, cat, cat
catac, cat, cat
catac, catac
catacat, cat
catacatac

#

And that doesn’t even count permutations

#

since tacat is different from catac

#

And

Catacat, cat, cat
Is different from
Cat, catac, cat
Is different from
Cat, cat, catac

crystal lintel
#

that relation seems kinda loose to me

rotund blade
crystal lintel
#

could be. i haven't tried it yet

rotund blade
#

and the partition function has no known closed formula

#

so unless we get some nice cancellation, I doubt 1 x n grids have them either

crystal lintel
#

i'll see what my algorithm says for some random values

#

it seems to get better for larger values

#

maybe it's asymptotically correct 😂

rotund blade
#

yeah there's an edge case I'm not considering then

crystal lintel
#

yea

#

that's what i was thinking

rotund blade
#

I'm working rn but I'll try to fix it after I get off

crystal lintel
#

you always work at unholy hours

rotund blade
#

9PM - 3AM currently

#

It's remote so it's not that bad

tight furnace
#

you're forgetting about the part where there's also a T in CAT

#

same problem with edge, only 2 locations spell CAT

#

not 5

rotund blade
#

you're right thanks

#

@crystal lintel try 1 - (-8 - 6m - 6n + 8mn)/(mn(mn - 1))

crystal lintel
#

still no but closer

rotund blade
#

oh right

#

wait

#

I'd have to think about it

#

oh edge should be 2 lol

#

as @tight furnace said

crystal lintel
#

the numerator should be 2*(m-2)*n + 2*m*(n-2) + 4*(m-2)*(n-2)

rotund blade
#

0(4) + 2(2m + 2n - 8) + 8(mn - 4 - (2m + 2n -8))

#

ways to spell cat

rotund blade
#

layla: 1, Existentialistic: 0

crystal lintel
tight furnace
#

i think mine works

crystal lintel
#

i just did it by considering the 8 directions you can spell cat

#

so like (m-2)*(n-2) for each diagonal way

#

(m-2)*n if you're going up or down

#

m*(n-2) if you're going left or right

tight furnace
#

that's what i started doing too and then i read what he was doing

#

and thought, this would be a better solution without the mistakes

crystal lintel
#

this has also improved my confidence in (the correctness of) my algorithm

rotund blade
#

8mn-12m-12n+16 according to both of our formulas

crystal lintel
rotund blade
#

another sus emote server I have to join

crystal lintel
#

i don't think that one is sus

rotund blade
#

it's borderline sus

crystal lintel
rotund blade
#

How do you even find these servers

#

like wtf

crystal lintel
rotund blade
#

STOP

crystal lintel
rotund blade
crystal lintel
rotund blade
crystal lintel
#

but i would never have found such gems as mommy_girlinchat

tight furnace
crystal lintel
#

i need a daddy what do you expect

tight furnace
#

Fair

rotund blade
#

I would think that was a dad joke server if it was literally anyone else sending that

crystal lintel
rotund blade
#

at this point this is just harassment

rotund blade
crystal lintel
rotund blade
#

🛑

tight furnace
#

ok but what about the dabbing squidward one

crystal lintel
rotund blade
#

🛑

tight furnace
#

now that's what I'm talking about

crystal lintel
#

anyone who provides a satisfactory answer to this problem will immediately steal my heart

#

well as long as you are 20+, a guy, not a deadbeat, at least slightly attractive

rotund blade
#

So basically whoever solves this problem is rewarded with a much more complicated problem

crystal lintel
#

ok i laughed

tight furnace
#

You know if the word was two letters this would be pretty easy

crystal lintel
#

this problem is so hard 🥵

tight furnace
crystal lintel
#

you can't **** **** like i can

rotund blade
crystal lintel
#

no can do mr archenemy

rotund blade
crystal lintel
#

i feel very mischievous having this code that can compute stuff you can't AA_Cute_Giggle

crystal lintel
#

omg you're here too

wild warren
#

Yes

wild warren
crystal lintel
#

that's you^

wild warren
crystal lintel
wild warren
#

Sad

crystal lintel
#

next on the docket for me is to clean up my code

crystal lintel
#

well actually no

crystal lintel
#

@vagrant gull bending_skull

vagrant gull
#

lmaoo

rotund blade
#

@crystal lintel I think I found the formula for f(m, n, c, 1, t = mn - c - 1)

crystal lintel
#

random example for you to test

rotund blade
#

You changed your nickname lol

#

Can you get it to print CAT boards instead of no CAT boards?

crystal lintel
#

i wanted to make it generating function slut but i figured i might get in trouble

rotund blade
#

ty

rotund blade
#

so close

crystal lintel
crystal lintel
#

i thought about whore but i figured that would be even worse

#

ho might be ok...

rotund blade
#

escort?

#

courtesan

crystal lintel
#

😭

rotund blade
#

(sorry)