cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-3 of 3 results.

A027716 Numbers k such that k^2 + k + 4 is a palindrome.

Original entry on oeis.org

0, 1, 20, 200, 219, 261, 2000, 2234, 2551, 2613, 20000, 20604, 200000, 202885, 205704, 218354, 2000000, 2155139, 2490266, 2620486, 20000000, 25882353, 200000000, 205705704, 2000000000, 2094600194, 20000000000, 20102030400, 20349812814, 21572321960
Offset: 1

Views

Author

Keywords

Comments

Includes 2*10^k for k>=2. - Robert Israel, Apr 16 2019

Crossrefs

Programs

  • Mathematica
    palQ[n_] := Block[{d = IntegerDigits[n]}, d == Reverse[d]]; f[n_] := n^2 + n + 4; Select[Range[0, 10^5], palQ@ f@ # &] (* Giovanni Resta, Aug 29 2018 *)
    Select[Range[0,3*10^6],PalindromeQ[#^2+#+4]&] (* The program generates the first 20 terms of the sequence. *) (* Harvey P. Dale, Jul 22 2024 *)

Extensions

More terms from Giovanni Resta, Aug 29 2018

A027728 Palindromes of form k^2 + k + 5.

Original entry on oeis.org

5, 7, 11, 77, 161, 707, 5555, 16261, 50405, 53135, 7570757, 11988911, 16100161, 16544561, 162626261, 502858205, 758919857, 793464397, 11092829011, 11539593511, 5560873780655, 7424090904247, 7702753572077, 16515222251561, 57293477439275, 7246424554246427
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    palQ[n_] := Block[{d = IntegerDigits[n]}, d == Reverse[d]]; f[n_] := n^2 + n + 5; Select[f@ Range[0, 10^5], palQ] (* Giovanni Resta, Aug 29 2018 *)
    Select[Table[k^2+k+5,{k,0,852*10^5}],PalindromeQ] (* Harvey P. Dale, Aug 04 2025 *)

Extensions

More terms from Giovanni Resta, Aug 28 2018

A027729 Numbers k such that k^2+k+6 is a palindrome.

Original entry on oeis.org

0, 1, 24, 25, 28, 288, 2485, 2550, 2888, 2946, 28888, 146777, 264334, 288888, 292276, 2834101, 2873233, 2888888, 2952316, 2960816, 2985943, 2995631, 14604657, 16353547, 28888888, 29190748, 29585508, 148278137, 264056434, 288888888, 2853889203, 2931604151, 28988127118
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    [n: n in [0..3*10^6] | Intseq(n^2+n+6) eq Reverse(Intseq(n^2+n+6))]; // Vincenzo Librandi, Jun 16 2016
  • Mathematica
    palOblongPlus6Q[n_] := Module[{d = IntegerDigits[n^2 + n + 6]}, d == Reverse[d]]; Select[Range[0, 3000000],  palOblongPlus6Q] (* Harvey P. Dale, Nov 14 2012 *)

Extensions

a(23)-a(33) from Giovanni Resta, Aug 27 2018
Showing 1-3 of 3 results.