Recurrence Relationship Help Request

I have been playing with the recurrence relation

pn=npn1+pn2 p_n = np_{n-1} + p_{n-2} such that p0=0,p1=1 p_0 = 0 , p_1 = 1 .

I have found a few interesting difference forms for it but no closed form formula. Can anyone find a nice closed form formula, generating function or interpretation for what this might count.

All thoughts appreciated and welcome :)

#Combinatorics

Note by Roberto Nicolaides
4 years, 2 months ago

No vote yet
1 vote

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

If you want to find the closed-form formula, find its generating function. To start you off, you will have

n2pnxn=n2npn1xn+n2pn2xn. \sum_{n \geq 2} p_n x^n = \sum_{n \geq 2} np_{n-1} x^n + \sum_{n \geq 2} p_{n-2} x^n.

If we define

f(x)n0pnxn, f(x) \equiv \sum_{n \geq 0} p_n x^n,

then you will have that

n2pnxn=f(x)(p0+p1x)=f(x)x, \begin{aligned} \sum_{n \geq 2} p_n x^n &= f(x) - (p_0 + p_1x) \\ &= f(x) - x, \end{aligned}

n2npn1xn=xn2npn1xn1=x(n2(n1)pn1xn1+n2pn1xn1)=x(xn2(n1)pn1xn2+f(x))=x2f(x)+xf(x) \begin{aligned} \sum_{n \geq 2} np_{n-1} x^n &= x \sum_{n \geq 2} np_{n-1} x^{n-1} \\ &= x \left( \sum_{n \geq 2} (n-1)p_{n-1} x^{n-1} + \sum_{n \geq 2} p_{n-1} x^{n-1} \right) \\ &= x \left( x \sum_{n \geq 2} (n-1)p_{n-1} x^{n-2} + f(x) \right) \\ &= x^2 f'(x) + xf(x) \end{aligned}

and

n2pn2xn=x2n2pn2xn2=x2f(x). \begin{aligned} \sum_{n \geq 2} p_{n-2} x^n &= x^2 \sum_{n \geq 2} p_{n-2} x^{n-2} \\ &= x^2 f(x). \end{aligned}

So, you end up with the equation

f(x)x=x2f(x)+xf(x)+x2f(x), f(x) - x = x^2 f'(x) + xf(x) + x^2 f(x),

which simplifies to

x2f(x)+(x2+x1)f(x)=x. x^2 f'(x) + (x^2 + x - 1) f(x) = -x.

This is a linear ODE which I will let you solve from here. This is one half of the problem; to recover the sequence, you will need to be a little crafty.

A Former Brilliant Member - 2 years, 10 months ago

Whenever you're investigating a sequence, it's not a bad idea to check the OEIS. This is entry A001053. There doesn't seem to be too much information.

Jon Haussmann - 4 years, 2 months ago

Log in to reply

Thanks Jon, this is a nice idea :) I did have a quick look and agreed that there was not a lot of info! I will be having a look at bessel funtions soon to try get more intuition on the problem :)

Roberto Nicolaides - 4 years, 2 months ago
×

Problem Loading...

Note Loading...

Set Loading...