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!)
A028504 Palindromes of form k*(k+2); or palindromes 1 less than a square. 5
0, 3, 8, 99, 323, 575, 4224, 5775, 9999, 36863, 42024, 999999, 3055503, 3640463, 5597955, 8803088, 32855823, 99999999, 360696063, 422919224, 9999999999, 30485858403, 30536863503, 32154945123, 59080108095, 86310801368, 304816618403, 999999999999, 3490500050943 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
10^(2*m) - 1 for m > 0 are terms. - Chai Wah Wu, May 25 2017
LINKS
FORMULA
a(n) = A028503(n) * (A028503(n) + 2) = A070253(n)^2 - 1 = A070254(n) - 1. - Giovanni Resta, Aug 29 2018
EXAMPLE
4224 belongs to this sequence as 4225 = 65^2.
MATHEMATICA
palQ[n_] := Block[{d = IntegerDigits[n]}, d == Reverse[d]]; Select[Range[10000]^2 - 1, palQ] (* Giovanni Resta, Aug 29 2018 *)
PROG
(ARIBAS): stop := 400000; m := 1; while m < stop do s := m*m - 1; if s = int_reverse(s) then write(s, " "); end; inc(m); end;
CROSSREFS
Sequence in context: A281709 A099296 A066619 * A349561 A231389 A123279
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Giovanni Resta, Aug 28 2018
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 April 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)