[go: up one dir, main page]

login
Revision History for A156144 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Number of partitions of n into parts having in decimal representation the same digital root as n has.
(history; published version)
#7 by Reinhard Zumkeller at Tue Feb 04 08:58:03 EST 2014
STATUS

editing

approved

#6 by Reinhard Zumkeller at Tue Feb 04 01:26:08 EST 2014
PROG

(Haskell)

a156144 n = p [x | x <- [1..n], a010888 x == a010888 n] n where

p _ 0 = 1

p [] _ = 0

p ks'@(k:ks) m = if m < k then 0 else p ks' (m - k) + p ks m

-- Reinhard Zumkeller, Feb 04 2014

STATUS

approved

editing

#5 by Reinhard Zumkeller at Tue Jan 28 00:51:33 EST 2014
STATUS

editing

approved

#4 by Reinhard Zumkeller at Tue Jan 28 00:23:30 EST 2014
KEYWORD

base,nonn,look

STATUS

approved

editing

#3 by Russ Cox at Fri Mar 30 18:51:00 EDT 2012
AUTHOR

_Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), _, Feb 05 2009

Discussion
Fri Mar 30
18:51
OEIS Server: https://oeis.org/edit/global/246
#2 by N. J. A. Sloane at Thu Nov 11 07:34:06 EST 2010
LINKS

R. Zumkeller, <a href="/A156144/b156144.txt">Table of n, a(n) for n = 1..500</a>

KEYWORD

base,nonn,new

#1 by N. J. A. Sloane at Fri Feb 27 03:00:00 EST 2009
NAME

Number of partitions of n into parts having in decimal representation the same digital root as n has.

DATA

1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 3, 2, 3, 1, 1, 2, 1, 1, 3, 5, 2, 5, 1, 1, 2, 1, 1, 5, 8, 4, 8, 2, 1, 4, 1, 1, 7, 13, 5, 13, 2, 2, 5, 1, 1, 11, 20, 9, 19, 3, 2, 9, 1, 1, 15, 31, 12, 29, 4, 3, 11, 2, 1, 22, 46, 20, 42, 7, 4, 18, 2, 2, 30, 68, 27, 61, 9, 6, 23, 3, 2, 42, 98, 42, 85

OFFSET

1,10

COMMENTS

a(n) <= a(n+9); Max{n: a(n)=1} = 71;

A156145 and A017173 give record values and where they occur: a(A017173(n-1))=A156145(n);

a(A017173(n)) = A116371(A017173(n)).

LINKS

R. Zumkeller, <a href="b156144.txt">Table of n, a(n) for n = 1..500</a>

EXAMPLE

a(19) = #{19, 10+1+1+1+1+1+1+1+1+1, 19x1} = 3;

a(20) = #{20, 2+2+2+2+2+2+2+2+2+2} = 2;

a(21) = #{21, 3+3+3+3+3+3+3, 12+3+3+3} = 3;

a(22) = #{22} = 1;

CROSSREFS
KEYWORD

base,nonn,new

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Feb 05 2009

STATUS

approved