login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131361 Number of partitions of n into repdigits of digits of n. 5
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 8, 6, 5, 5, 4, 4, 4, 4, 1, 17, 2, 4, 8, 3, 6, 2, 5, 2, 1, 22, 8, 2, 3, 3, 8, 2, 2, 6, 1, 27, 17, 5, 2, 3, 4, 2, 8, 2, 1, 32, 11, 6, 4, 2, 2, 2, 2, 2, 1, 37, 22, 17, 8, 4, 2, 2, 3, 4, 1, 42, 14, 7, 4, 4, 2, 2, 2, 2, 1, 47, 27, 7, 17, 4, 5, 2, 2, 2, 1, 52, 16, 22, 4, 4, 8, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,12
COMMENTS
See A131362 and A131363 for record values and where they occur.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000 (first 501 terms from Reinhard Zumkeller)
Eric Weisstein's World of Mathematics, Repdigit
EXAMPLE
a(10) = #{1+1+1+1+1+1+1+1+1+1} = 1;
a(11) = #{11, 1+1+1+1+1+1+1+1+1+1+1} = 2;
a(12) = #{11+1, 2+2+2+2+2+2, 2+2+2+2+2+1+1, 2+2+2+2+1+1+1+1, 2+2+2+1+1+1+1+1+1, 2+2+1+1+1+1+1+1+1+1, 2+1+1+1+1+1+1+1+1+1+1, 1+1+1+1+1+1+1+1+1+1+1+1} = 8;
a(13) = #{11+1+1, 3+3+3+3+1, 3+3+3+1+1+1+1, 3+3+1+1+1+1+1+1+1, 3+1+1+1+1+1+1+1+1+1+1, 1+1+1+1+1+1+1+1+1+1+1+1+1} = 6;
a(14) = #{11+1+1+1, 4+4+4+1+1, 4+4+1+1+1+1+1+1, 4+1+1+1+1+1+1+1+1+1+1, 1+1+1+1+1+1+1+1+1+1+1+1+1+1} = 5;
a(15) = #{11+1+1+1+1, 5+5+5, 5+5+1+1+1+1+1, 5+1+1+1+1+1+1+1+1+1+1, 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1} = 5;
a(16) = #{11+1+1+1+1+1, 6+6+1+1+1+1, 6+1+1+1+1+1+1+1+1+1+1, 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1} = 4;
a(17) = #{11+1+1+1+1+1+1, 7+7+1+1+1, 7+1+1+1+1+1+1+1+1+1+1, 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1} = 4;
a(18) = #{11+1+1+1+1+1+1+1, 8+8+1+1, 8+1+1+1+1+1+1+1+1+1+1, 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1} = 4;
a(19) = #{11+1+1+1+1+1+1+1+1, 9+9+1, 9+1+1+1+1+1+1+1+1+1+1, 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1} = 4.
PROG
(Haskell)
a131361 n = p [r | r <- tail a010785_list, head (show r) `elem` show n] n
where p _ 0 = 1
p ks'@(k:ks) m = if m < k then 0 else p ks' (m - k) + p ks m
-- Reinhard Zumkeller, Dec 10 2011
CROSSREFS
Cf. A000929 (binary analog), A131362, A131363, A131364, A088669.
Sequence in context: A248413 A206099 A021353 * A228042 A239386 A011370
KEYWORD
nonn,base,look
AUTHOR
Reinhard Zumkeller, Jul 03 2007
EXTENSIONS
a(0)=1 added and offset adjusted by Reinhard Zumkeller, Dec 10 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 18 22:56 EDT 2024. Contains 370952 sequences. (Running on oeis4.)