login

Revision History for A180653

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

Showing entries 1-10 | older changes
'DP(n,k)' triangle read by rows. DP(n,k) is the number of k-double-palindromes of n.
(history; published version)
#15 by Joerg Arndt at Sat Oct 30 07:17:49 EDT 2021
STATUS

proposed

approved

#14 by Michel Marcus at Sat Oct 30 03:30:27 EDT 2021
STATUS

editing

proposed

#13 by Michel Marcus at Sat Oct 30 03:30:23 EDT 2021
COMMENTS

The triangle begins

0

0 1

0 2 1

0 3 2 1

0 4 4 4 1

0 5 3 8 4 1

0 6 6 12 12 6 1

0 7 6 17 12 19 6 1

0 8 7 24 24 20 24 8 1

0 9 8 32 21 50 24 32 8 1

...

For example, row 8 is: 0 7 6 17 12 19 6 1.

We have DP(8,3)=6 because there are 6 3-double-palindromes of 8: 116, 611, 224, 422, 233, and 332.

We have DP(8,4)=17 because there are 17 4-double-palindromes of 8: 1115, 5111, 1511, 1151, 1214, 4121, 1412, 2141, 1133, 3311, 1313, 3131, 1232, 2123, 3212, 2321, and 2222.

EXAMPLE

The triangle begins

0

0 1

0 2 1

0 3 2 1

0 4 4 4 1

0 5 3 8 4 1

0 6 6 12 12 6 1

0 7 6 17 12 19 6 1

0 8 7 24 24 20 24 8 1

0 9 8 32 21 50 24 32 8 1

...

For example, row 8 is: 0 7 6 17 12 19 6 1.

We have DP(8,3)=6 because there are 6 3-double-palindromes of 8: 116, 611, 224, 422, 233, and 332.

We have DP(8,4)=17 because there are 17 4-double-palindromes of 8: 1115, 5111, 1511, 1151, 1214, 4121, 1412, 2141, 1133, 3311, 1313, 3131, 1232, 2123, 3212, 2321, and 2222.

STATUS

approved

editing

#12 by Susanna Cuyler at Fri Sep 27 22:44:37 EDT 2019
STATUS

proposed

approved

#11 by Andrew Howroyd at Fri Sep 27 22:17:17 EDT 2019
STATUS

editing

proposed

#10 by Andrew Howroyd at Fri Sep 27 16:28:19 EDT 2019
CROSSREFS
#9 by Andrew Howroyd at Fri Sep 27 16:24:47 EDT 2019
DATA

0, 0, 1, 0, 2, 1, 0, 3, 2, 1, 0, 4, 4, 4, 1, 0, 5, 3, 8, 4, 1, 0, 6, 6, 12, 12, 6, 1, 0, 7, 6, 17, 12, 19, 6, 1, 0, 8, 7, 24, 24, 20, 24, 8, 1, 0, 9, 8, 32, 21, 50, 24, 32, 8, 1, 0, 10, 10, 40, 40, 60, 60, 40, 40, 10, 1, 0, 11, 9, 49, 40, 100, 60, 98, 35, 51, 10, 1

COMMENTS

0

0 1

0 2 1

0 3 2 1

0 4 4 4 1

0 5 3 8 4 1

0 6 6 12 12 6 1

0 7 6 17 12 19 6 1

0 8 7 24 24 20 24 8 1

0 9 8 32 21 50 24 32 8 1

...

LINKS

Andrew Howroyd, <a href="/A180653/b180653.txt">Table of n, a(n) for n = 1..1275</a>

FORMULA

T(n,k) = A180279(n,k) - A179519(n,k). - Andrew Howroyd, Sep 27 2019

PROG

(PARI) \\ p(n, k) is k*A119963(n, k); q(n, k) is A051159(n-1, k-1).

p(n, k) = {k*binomial((n-k%2)\2, k\2)}

q(n, k) = {if(n%2==1&&k%2==0, 0, binomial((n-1)\2, (k-1)\2))}

invphi(n) = {sumdiv(n, d, d*moebius(d))}

T(n, k) = sumdiv(gcd(n, k), d, invphi(d) * p(n/d, k/d) - moebius(d) * q(n/d, k/d)); \\ Andrew Howroyd, Sep 27 2019

EXTENSIONS

Terms a(56) and beyond from Andrew Howroyd, Sep 27 2019

#8 by Andrew Howroyd at Fri Sep 27 14:40:53 EDT 2019
CROSSREFS

Row sums are A180750.

STATUS

approved

editing

#7 by Jon E. Schoenfield at Sat Mar 11 20:39:24 EST 2017
STATUS

editing

approved

#6 by Jon E. Schoenfield at Sat Mar 11 20:39:15 EST 2017
NAME

`'DP(n,k)' triangle read by rows. DP(n,k) is the number of k-double-palindromes of n.

COMMENTS

This sequence is the `'DP(n,k)' triangle read by rows.

For example , row 8 is: 0 7 6 17 12 19 6 1.

REFERENCES

John P. McSorley: Counting k-compositions of n with palindromic and related structures. Preprint, 2010.

STATUS

approved

editing