Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101034
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101034 Numbers n such that A002113(n) is a triangular number. +0
1
0, 1, 3, 6, 14, 15, 26, 68, 75, 129, 158, 186, 249, 759, 1616, 1827, 2268, 2679, 4543, 6072, 6675, 7294, 13512, 16146, 27871, 112640, 116339, 152889, 161727, 239533, 260487, 404161, 670038, 685744, 767718, 973504, 2313206, 6250177, 6977617 (list; graph; listen)
OFFSET

1,3

COMMENT

Indices of triangular numbers in the sequence of palindromes.

EXAMPLE

A002113(26) = 171 is a triangular number, so 26 is a term.

PROGRAM

(ARIBAS) var c, n, m:integer; end; begin c:=0; for n:=0 to 100000000 do if n = intreverse(n) then m:=floor(sqrt(2*n)); if m*(m+1) div 2 = n then write(c, ", "); end; inc(c); end; end; end;

(PARI) {c=0; for(n=0, 10000000, k=n; r=0; while(k>0, d=divrem(k, 10); k=d[1]; r=10*r+d[2]); if(n==r, m=sqrtint(2*n); if(m*(m+1)/2==n, print1(c, ", ")); c++))}

CROSSREFS

Cf. A000217, A002113, A003098, A008509.

Sequence in context: A084816 A055738 A053365 this_sequence A084168 A075390 A118523

Adjacent sequences: A101031 A101032 A101033 this_sequence A101035 A101036 A101037

KEYWORD

nonn,base

AUTHOR

Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Nov 27 2004

EXTENSIONS

a(24) to a(38) from Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Oct 05 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 24 12:00 EDT 2008. Contains 142294 sequences.


AT&T Labs Research