login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

a(n) is the least positive integer that can be expressed as the sum of a prime number and a nonnegative cube in exactly n ways.
5

%I #9 Sep 07 2023 16:07:08

%S 1,2,3,67,829,1787,6654,8941,22193,36277,57139,59455,85377,158435,

%T 240074,253628,313407,405925,548802,891845,809384,1317788,1547004,

%U 2049122,1838349,2516848,3192927,2448059,4132313,4349417,4438311,6483753,6956437,6175237,9393491

%N a(n) is the least positive integer that can be expressed as the sum of a prime number and a nonnegative cube in exactly n ways.

%H Rémy Sigrist, <a href="/A365289/a365289.txt">C++ program</a>

%e For n = 3: 67 = 3 + 4^3 = 59 + 2^3 = 67 + 0^3.

%o (C++) See Links section.

%Y Cf. A000040, A000578, A302354, A365288, A365290, A365291.

%K nonn

%O 0,2

%A _Ilya Gutkovskiy_, Aug 31 2023

%E More terms from _Rémy Sigrist_, Sep 07 2023