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.
%I A124185 #21 Sep 08 2022 08:45:28 %S A124185 182,219,393,468,629,638,755,824,960,965,984,1002,1053,1068,1095,1110, %T A124185 1140,1209,1233,1269,1457,1518,1539,1547,1590,1622,1659,1707,1797, %U A124185 1818,2174,2259,2333,2799,2975,3032,3074,3272,3285,3338,3368,3477,3564,4118 %N A124185 Numbers n such that 1 + n + n^3 + n^5 + n^7 + n^9 + n^11 + n^13 + n^15 + n^17 + n^19 + n^21 + n^23 + n^25 + n^27 is prime. %H A124185 Vincenzo Librandi, <a href="/A124185/b124185.txt">Table of n, a(n) for n = 1..850</a> %t A124185 Do[If[PrimeQ[1 + n + n^3 + n^5 + n^7 + n^9 + n^11 + n^13 + n^15 + n^17 + n^19 + n^21 + n^23 + n^25 + n^27], Print[n]], {n, 1, 1400}] %t A124185 Select[Range[5000], PrimeQ[Total[#^Range[1, 27, 2]] + 1] &] (* _Vincenzo Librandi_, Jun 28 2014 *) %o A124185 (Magma) [n: n in [0..5000] | IsPrime(s) where s is 1+&+[n^i: i in [1..27 by 2]]]; // _Vincenzo Librandi_, Jun 28 2014 %o A124185 (PARI) is(n)=isprime(1+n+n^3+n^5+n^7+n^9+n^11+n^13+n^15+n^17+n^19+n^21+n^23+n^25+n^27) \\ _Charles R Greathouse IV_, Feb 20 2017 %Y A124185 Cf. A049407, similar sequences listed in A244376. %K A124185 nonn,easy %O A124185 1,1 %A A124185 _Artur Jasinski_, Dec 13 2006