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!)
A028571 Palindromes of form k*(k+9). 2

%I #12 Feb 13 2022 12:19:30

%S 0,22,252,2332,20002,26062,29392,63736,68886,2701072,2783872,2884882,

%T 29122192,253080352,289050982,25661316652,237776677732,2393677763932,

%U 215331808133512,218759969957812,225588939885522,235212787212532,636759171957636,682911868119286

%N Palindromes of form k*(k+9).

%H Michael S. Branicky, <a href="/A028571/b028571.txt">Table of n, a(n) for n = 1..42</a>

%H P. De Geest, <a href="http://www.worldofnumbers.com/consemor.htm">Palindromic Quasipronics of the form n(n+x)</a>

%F a(n) = A028570(n) * (A028570(n) + 9). - _Michael S. Branicky_, Jan 26 2022

%t Select[Table[k(k+9),{k,0,262*10^5}],PalindromeQ] (* _Harvey P. Dale_, Feb 13 2022 *)

%o (Python)

%o from itertools import count, islice

%o def ispal(n): s = str(n); return s == s[::-1]

%o def agen():

%o for k in count(0):

%o if ispal(k*(k+9)):

%o yield k*(k+9)

%o print(list(islice(agen(), 18))) # _Michael S. Branicky_, Jan 26 2022

%Y Cf. A028569, A028570.

%K nonn,base

%O 1,2

%A _Patrick De Geest_

%E a(22) and beyond from _Michael S. Branicky_, Jan 26 2022

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 23 13:51 EDT 2024. Contains 371914 sequences. (Running on oeis4.)