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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A226742 Triangular numbers obtained as the concatenation of 2n and n. 3
21, 105, 2211, 9045, 222111, 306153, 742371, 890445, 1050525, 22221111, 88904445, 107905395, 173808690, 2222211111, 8889044445, 12141260706, 15754278771, 222222111111, 888890444445, 22222221111111, 36734701836735, 65306123265306 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

EXAMPLE

If n=111, 2n=222, 2n//n = 222111 = 666*667/2, a triangular number.

MATHEMATICA

TriangularQ[n_] := IntegerQ[Sqrt[1 + 8*n]]; t = {}; Do[s = FromDigits[Join[IntegerDigits[2*n], IntegerDigits[n]]]; If[TriangularQ[s], AppendTo[t, s]], {n, 100000}]; t (* T. D. Noe, Jun 18 2013 *)

PROG

(PARI)

concatint(a, b)=eval(concat(Str(a), Str(b)))

istriang(x)=issquare(8*x+1)

{for(n=1, 10^5, a=concatint(2*n, n); if(istriang(a), print(a)))}

CROSSREFS

Cf. A003098, A068899, A226772, A226788, A226789.

Sequence in context: A279763 A068986 A219631 * A077400 A041854 A219820

Adjacent sequences:  A226739 A226740 A226741 * A226743 A226744 A226745

KEYWORD

nonn,base

AUTHOR

Antonio Roldán, Jun 18 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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 16 07:12 EST 2018. Contains 317258 sequences. (Running on oeis4.)