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!)
A061380 Triangular numbers with product of digits also a triangular number. 0

%I #12 Mar 17 2023 11:21:56

%S 0,1,3,6,10,66,105,120,153,190,210,231,300,351,406,465,630,703,741,

%T 780,820,903,990,1035,1081,1326,1540,1770,1830,2016,2080,2556,2701,

%U 2850,3003,3081,3160,3240,3403,3570,4005,4095,4560,4950,5050,5460,5671,6105

%N Triangular numbers with product of digits also a triangular number.

%e 153 is a triangular number and the product of digits 15 is also a triangular number.

%p q:= n-> (l-> issqr(1+8*mul(i,i=l)))(convert(n, base, 10)):

%p select(q, [seq(i*(i+1)/2, i=0..110)])[]; # _Alois P. Heinz_, Mar 17 2023

%o (Magma) [t: n in [0..110] | IsSquare(8*p+1) where p is &*Intseq(t) where t is (n*(n+1) div 2)]; // _Bruno Berselli_, Jun 30 2011

%o (PARI) isok(k) = ispolygonal(k, 3) && ispolygonal(vecprod(digits(k)), 3); \\ _Michel Marcus_, Mar 17 2023

%Y Cf. A000217.

%K nonn,base,easy

%O 1,3

%A _Amarnath Murthy_, May 02 2001

%E More terms from _Erich Friedman_, May 08 2001

%E Offset 1 from _Michel Marcus_, Mar 17 2023

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 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)