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!)
A072386 Primes which can be represented as the sum of a triangular number and its reverse. 1

%I #4 Aug 29 2016 19:00:54

%S 2,11,281,21701,42923,72227,73037,78887,79697,100109,119891,122321,

%T 128981,138683,178697,1360631,1394831,1591841,1598951,1607051,1958591,

%U 1982891,2188811,2401031,2490941,2793071,3382733,3555443,3586853

%N Primes which can be represented as the sum of a triangular number and its reverse.

%e 11 is a term because it is prime and it is the sum of triangular number 10 and its reverse 01.

%t Take[Select[Union[#+IntegerReverse[#]&/@Accumulate[Range[ 5000]]], PrimeQ],30] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Aug 29 2016 *)

%K base,nonn

%O 1,1

%A _Shyam Sunder Gupta_, Jul 20 2002

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 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)