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!)
A096923 Numbers n for which there are exactly two k such that n = k + (product of nonzero digits of k). 7
12, 14, 16, 18, 22, 26, 38, 44, 50, 55, 62, 66, 74, 80, 86, 88, 98, 104, 112, 114, 120, 122, 123, 138, 142, 144, 155, 160, 162, 166, 170, 174, 186, 188, 198, 209, 210, 212, 218, 224, 230, 237, 240, 250, 258, 261, 265, 285, 286, 294, 303, 308, 314, 316, 326, 327 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
18 and 22 are the only two k such that k + (product of nonzero digits of k) = 26, hence 26 is a term.
MATHEMATICA
knzd[n_]:=n+Times@@Select[IntegerDigits[n], #!=0&]; Sort[Transpose[ Select[ Tally[ Array[ knzd, 400]], Last[#]==2&]][[1]]] (* Harvey P. Dale, Nov 05 2013 *)
PROG
(PARI) {c=2; z=330; v=vector(z); for(n=1, z+1, k=addpnd(n); if(k<=z, v[k]=v[k]+1)); for(j=1, length(v), if(v[j]==c, print1(j, ", ")))} \\for function addpnd see A096922
CROSSREFS
Sequence in context: A371422 A080693 A135739 * A141642 A163622 A159251
KEYWORD
nonn,base
AUTHOR
Klaus Brockhaus, Jul 15 2004
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 April 20 10:07 EDT 2024. Contains 371812 sequences. (Running on oeis4.)