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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A218030 Numbers n equal to half of the product of the nonzero (base 10) digits of n^2. 2
2, 5, 54, 648, 2160, 337169025526136832000, 685506275314921762068267522458966662115416623590907309075726336000000, 46641846972427276691124922228108091690332947069125333309512419901440000000000 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The first 5 members of the sequence were found by the author around 1980 using his Commodore PET computer. He found the subsequent terms in 1991 by means of an improved program. The author has always referred to these as the "Faithy numbers" after his mother Faith who posed the problem.

LINKS

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

Giovanni Resta, C program for this and related sequences

EXAMPLE

For n=5, n^2 is 25; the product of the digits of 25 is 2 * 5 = 10, which is equal to 2*n.

MATHEMATICA

mx = 2^255; L = {};

p2 = 1; While[p2 < mx, Print["--> 2^", Log[2, p2]];

p3 = p2; While [p3 < mx,

  p5 = p3; While[p5 < mx,

   n = p5; While[n < mx,

    If[2 n == Times @@ Select[IntegerDigits[n^2], # > 0 &],

     AppendTo[L, n]; Print[n]]; n *= 7]; p5 *= 5]; p3 *= 3];

p2 *= 2]; Sort[L] (* Giovanni Resta, Oct 19 2012 *)

PROG

(PARI) is_A218030(n)={my(d=digits(n^2)); n*=2; for(i=1, #d, d[i]||next; n%d[i]&return; n\=d[i]); n==1} \\ M. F. Hasler, Oct 19 2012

CROSSREFS

Special case of A218013 where the ratio of the digit-product to the original number is 2. Related to A218072.

Sequence in context: A206848 A081482 A134475 * A114029 A013171 A073422

Adjacent sequences:  A218027 A218028 A218029 * A218031 A218032 A218033

KEYWORD

nonn,base

AUTHOR

Nels Olson, Oct 18 2012

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 December 8 17:36 EST 2019. Contains 329865 sequences. (Running on oeis4.)