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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118490 Squares for which both the sum of the digits and the product of the digits is a triangular number. 0
0, 1, 100, 3025, 5041, 6400, 10000, 21025, 23104, 26569, 32041, 36100, 38809, 47089, 63001, 87616, 88804, 110224, 122500, 130321, 157609, 170569, 178084, 195364, 199809, 201601, 203401, 209764, 211600, 218089, 300304, 302500, 351649, 395641 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

EXAMPLE

26569 is in the sequence because (1) it is a square, (2) the sum of its digits is 2+6+5+6+9=28, (3) the product of its digits is 2*6*8*6*9=3240, (4) 28 and 3240 are both triangular numbers.

MATHEMATICA

trnos=Accumulate[Range[0, 1000]];

spdQ[n_]:=Module[{idn=IntegerDigits[n]}, MemberQ[trnos, Total[idn]]&&MemberQ[trnos, Times@@idn]]; Select[Range[0, 650]^2, spdQ] (* From Harvey P. Dale, Mar 5 2011 *)

CROSSREFS

Cf. A000217.

Sequence in context: A075822 A200937 A112889 * A146310 A117685 A091134

Adjacent sequences:  A118487 A118488 A118489 * A118491 A118492 A118493

KEYWORD

base,nonn

AUTHOR

Luc Stevens (lms022(AT)yahoo.com), May 05 2006

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified June 20 00:11 EDT 2013. Contains 226416 sequences.