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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A226726 Numbers n such that the product of its decimal digits (A007954) is between n/2-1 and n/2+1. 0
1, 19, 27, 36, 289, 379 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

There are no more terms in this sequence. - Charles R Greathouse IV, Jun 15 2013

LINKS

Table of n, a(n) for n=1..6.

MATHEMATICA

j[lis_] := Product[lis[[i]], {i, 1, Length[lis]}];

jj[n_] := j[RealDigits[n][[1]]]; Table[If[n/2 - 1 < j[RealDigits[n][[1]]] < n/2 + 1, n], {n, 1, 1000000}] // Union

PROG

(PARI) is(n)=my(d=digits(n)); abs(prod(i=1, #d, d[i])-n/2)<=1

select(is, vector(400, i, i))  \\ Charles R Greathouse IV, Jun 15 2013

CROSSREFS

Cf. A007954

Sequence in context: A152013 A160036 A032701 * A006626 A259054 A029510

Adjacent sequences:  A226723 A226724 A226725 * A226727 A226728 A226729

KEYWORD

nonn,fini,full,base

AUTHOR

José María Grau Ribas, Jun 15 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 22 19:53 EDT 2019. Contains 328319 sequences. (Running on oeis4.)