login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A107583 a(n) = 3^n - 3*n. 9
1, 0, 3, 18, 69, 228, 711, 2166, 6537, 19656, 59019, 177114, 531405, 1594284, 4782927, 14348862, 43046673, 129140112, 387420435, 1162261410, 3486784341 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

Digit sum = digit product = 3^n.

Numbers a(n)=k such that number m with k 3's and n 1's has digit product=digit sum.

One of the infinite series of numbers with digit product = digit sum. Cf. A107584, A107585.

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

EXAMPLE

n=0, k=1,m=1,ds=dp=1; n=1,k=0,m=3,ds=dp=3; n=2,k=3,m=11133,ds=dp=9.

MATHEMATICA

Table[3^m-3*m, {m, 0, 20}]

PROG

(MAGMA) [3^n-3*n: n in [0..30]]; // Vincenzo Librandi, Oct 22 2011

CROSSREFS

Cf. A107584, A107585.

Sequence in context: A027333 A026576 A048899 * A157535 A098522 A174764

Adjacent sequences:  A107580 A107581 A107582 * A107584 A107585 A107586

KEYWORD

nonn,easy

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), May 16 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 19:13 EST 2012. Contains 206085 sequences.