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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098826 Palindromes that are 1 more than a prime and 1 less than a triangular number. 0
44, 252, 434, 464, 4004, 46664, 2005002, 49099094, 414878414, 431313134, 4370654560734, 200000050000002, 417622181226714, 202837977779738202, 2574289191919824752 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

a(1) = 44 because 44 is the smallest (first) palindrome that is 1 more than a prime (43) and 1 less than a triangular number (45).

MATHEMATICA

Do[t = n(n + 1)/2 - 1; If[EvenQ[t], If[PrimeQ[t - 1], If[t == FromDigits[ Reverse[ IntegerDigits[ t]]], Print[t]]]], {n, 10^9}] (from Robert G. Wilson v Nov 04 2004)

CROSSREFS

Sequence in context: A122235 A122245 A031175 * A160284 A060836 A135182

Adjacent sequences:  A098823 A098824 A098825 * A098827 A098828 A098829

KEYWORD

base,nonn

AUTHOR

Anonymous, Nov 02 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 13 12:58 EST 2012. Contains 205482 sequences.