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.

A167189 Larger prime power associated with record gap in A167186.

This page as a plain text file.
%I A167189 #11 Jul 27 2024 13:54:24
%S A167189 4,8,16,25,49,121,169,243,512,1331,1681,2809,4913,6241,7921,9409,
%T A167189 14641,22201,36481,44521,49729,94249,185761,226981,271441,292681,
%U A167189 452929,619369,769129,822649,1181569,1852321,5442889,6265009,8994001,10883401,17648401,18722929
%N A167189 Larger prime power associated with record gap in A167186.
%H A167189 Donovan Johnson, <a href="/A167189/b167189.txt">Table of n, a(n) for n = 1..200</a>
%e A167189 49 is in the sequence since the gap between it the previous prime power, 32, is greater than any previous gap.
%o A167189 (PARI) isA025475(n) = (omega(n) == 1 & !isprime(n)) || (n == 1)
%o A167189 d_max=0;n_prev=1;for(n=2,32e6,if(isA025475(n),d=n-n_prev;if(d>d_max,print(n);d_max=d);n_prev=n))
%Y A167189 Smaller prime power is in A167188.
%Y A167189 Record gaps between nonprime prime powers: A167186.
%Y A167189 Gaps between nonprime prime powers: A053707.
%Y A167189 List of nonprime prime powers: A025475.
%K A167189 nonn
%O A167189 1,1
%A A167189 _Michael B. Porter_, Nov 01 2009