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!)
A343811 Triangular numbers k such that every permutation of the digits of k is a triangular number. 1
0, 1, 3, 6, 10, 55, 66, 666 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
I assume this sequence is finite.
From Jon E. Schoenfield, Mar 05 2022: (Start)
If k is a term of this sequence and is not a repdigit, then at least one of its permutations (a triangular number, call it k1) will have a digit d0 in its ones place and a digit d1 != d0 in its tens place, and the number that results from reversing those last two digits will be a triangular number k2 = k1 + 9*(d0 - d1), so the two distinct triangular numbers k2 and k1 will differ by no more than 9*(9-0) = 81. But the j-th triangular number T(j) differs from the nearest other triangular number by T(j) - T(j-1) = j, so if two distinct triangular numbers T(k1) > T(k2) differ by no more than 81, then k1 <= 81. No triangular numbers <= T(81) = 3321 are terms that exceed 666, so if there exists any term > 666, it is a repdigit triangular number.
However, Ballew and Weger proved (see A045914) that the only repdigit triangular numbers are 0, 1, 3, 6, 55, 66, and 666. Thus, 666 is the last term of this sequence. (End)
LINKS
EXAMPLE
10 = 4*5/2, 01 = 1*2/2.
MATHEMATICA
triQ[n_] := IntegerQ @ Sqrt[8*n + 1]; Select[Range[0, 1000], AllTrue[Permutations[ IntegerDigits[#] ], triQ[FromDigits[#1]] &] &] (* Amiram Eldar, Apr 30 2021 *)
pdtQ[n_]:=AllTrue[FromDigits/@Permutations[IntegerDigits[n]], OddQ[ Sqrt[ 8#+1]]&]; Select[Accumulate[Range[0, 5000]], pdtQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 04 2021 *)
CROSSREFS
Sequence in context: A068071 A067269 A352057 * A071299 A338767 A351131
KEYWORD
nonn,base,fini,full
AUTHOR
Ctibor O. Zizka, Apr 30 2021
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 July 13 04:46 EDT 2024. Contains 374267 sequences. (Running on oeis4.)