Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064003
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064003 Numbers n such that product of decimal digits = sum of binary digits. +0
1
1, 12, 13, 114, 115, 123, 131, 141, 151, 212, 231, 1122, 1611, 1911, 2121, 3211, 3311, 11124, 11215, 11251, 11421, 12114, 12311, 12411, 13121, 14121, 14211, 15211, 21114, 21212, 21221, 21411, 22121, 22211, 26111, 52111, 111118, 111119, 111133 (list; graph; listen)
OFFSET

1,2

FORMULA

n such that A000120(n)=A007954(n)

EXAMPLE

Product of digits of 15211 is 10, 15211 = 11101101101011 in binary with 10 "1's", hence 15211 is in the sequence.

PROGRAM

(PARI) for(n=1, 120000, s=ceil(log(n)/log(10)); b=binary(n):l=length(b); if(sum(i=1, l, component(b, i))==prod(i=0, s-1, floor(n/10^i)-10*floor(n/10^(i+1))), print1(n, ", ")))

CROSSREFS

Adjacent sequences: A064000 A064001 A064002 this_sequence A064004 A064005 A064006

Sequence in context: A041306 A058952 A058950 this_sequence A135123 A129476 A037278

KEYWORD

nonn,base

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 05 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 13 20:18 EDT 2008. Contains 145016 sequences.


AT&T Labs Research