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.

A125504 Smallest number k such that the numerator of alternating generalized harmonic number H'(k,n) = Sum[ (-1)^(i+1) * 1/i^n, {i,1,k} ] is a prime.

This page as a plain text file.
%I A125504 #11 Feb 16 2025 08:33:04
%S A125504 3,2,2,3,2,19,2,146,87,3,16,3,2,249,15,87,2,699,2
%N A125504 Smallest number k such that the numerator of alternating generalized harmonic number H'(k,n) = Sum[ (-1)^(i+1) * 1/i^n, {i,1,k} ] is a prime.
%C A125504 a(n) = 2 for n in A000043.
%C A125504 a(n) = 3 for n in {1,4,10,12,24,27,39,...}.
%C A125504 a(n) = 5 for n in {26,76,132,205,238,...}.
%C A125504 a(n) = 9 for n in {100,200,...}.
%C A125504 a(n) = 15 for n in {15,33,65,...}.
%C A125504 a(21) = 18. a(22) = 13. a(41) = 6. a(72) = 11. a(173) = 8.
%C A125504 a(20) > 2100 - _Max Alekseyev_, Jul 07 2009
%H A125504 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/HarmonicNumber.html">Harmonic Number</a>
%Y A125504 Cf. A058313, A119682, A120296, A001008, A000043.
%K A125504 hard,more,nonn
%O A125504 1,1
%A A125504 _Alexander Adamchuk_, Dec 28 2006, Jan 31 2007
%E A125504 More terms from _Max Alekseyev_, Jul 07 2009