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!)
A230104 Numbers k such that m + (product of digits of m) is never equal to k. 6
1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 25, 27, 31, 33, 36, 37, 39, 43, 48, 49, 51, 52, 53, 57, 59, 61, 63, 64, 69, 71, 72, 73, 76, 77, 79, 82, 83, 84, 87, 91, 93, 96, 97, 99, 111, 113, 115, 117, 119, 121, 127, 131, 133, 136, 137, 139, 148, 149, 151, 153, 157, 159, 163, 164, 169, 171, 172, 173, 176, 177, 179, 182, 183 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Numbers missing from A230099.
LINKS
PROG
(PARI) f(n) = if (n, n + vecprod(digits(n)), 0); \\ A230104
isok(m) = for(i=1, m, if (f(i) == m, return(0))); return(1); \\ Michel Marcus, Jan 09 2023
(Python)
from math import prod
def b(n): return n + prod(map(int, str(n)))
def aupto(n): return sorted(set(range(n+1)) - set(b(m) for m in range(n+1)))
print(aupto(183)) # Michael S. Branicky, Jan 09 2023
CROSSREFS
Sequence in context: A293167 A357377 A062505 * A093031 A305468 A143452
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Oct 13 2013
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 19 17:51 EDT 2024. Contains 371797 sequences. (Running on oeis4.)