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!)
A242454 Triangular numbers T such that sum of digits of T is semiprime. 1
6, 15, 28, 36, 45, 55, 78, 91, 105, 136, 153, 171, 190, 231, 253, 276, 325, 351, 406, 465, 528, 630, 703, 780, 820, 861, 1035, 1081, 1176, 1225, 1275, 1431, 1540, 1596, 1653, 1711, 1770, 2016, 2080, 2211, 2346, 2701, 2775, 2850, 3003, 3160, 3240, 3321, 3403 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The n-th triangular number T(n) = n*(n+1)/2.
Triangular numbers with digital sum = p * q, where p and q are primes.
LINKS
EXAMPLE
a(2) = 15 = 5*(5+1)/2: 1+5 = 6 = 2 * 3 is semiprime.
a(3) = 28 = 7*(7+1)/2: 2+8 = 10 = 2 * 5 is semiprime.
MAPLE
with(numtheory): A242454:= proc()local a, b; a:=x*(x+1)/2; b:=add( i, i = convert((a), base, 10))(a); if bigomega(b)=2 then RETURN (a); fi; end: seq(A242454 (), x=1..100);
MATHEMATICA
Select[Table[n*(n+1)/2, {n, 200}], PrimeOmega[Sum[DigitCount[#][[i]]*i, {i, 1, 9}]] == 2 &]
CROSSREFS
Sequence in context: A063525 A335267 A349476 * A161777 A117519 A091012
KEYWORD
nonn,base,less
AUTHOR
K. D. Bajpai, May 15 2014
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 08:28 EDT 2024. Contains 371782 sequences. (Running on oeis4.)