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.

A167236 Larger prime power associated with gaps in A121492.

This page as a plain text file.
%I A167236 #14 Oct 18 2024 09:11:20
%S A167236 2,7,16,23,37,59,97,149,211,307,907,1151,1361,5623,8501,9587,15727,
%T A167236 19661,31469,156007,360749,370373,492227,1349651,1357333,2010881,
%U A167236 4652507,17051887,20831533,47326913,122164969,189695893,191913031,387096383,436273291,1294268779
%N A167236 Larger prime power associated with gaps in A121492.
%H A167236 Jan Kristian Haugland, <a href="/A167236/b167236.txt">Table of n, a(n) for n = 1..87</a>. The extra terms after a(33) are copied from A000101 as the associated prime gaps do not contain any prime powers.
%e A167236 59 is in the sequence since 53 and 59 are consecutive prime powers with a difference of 6 and no smaller pair of consecutive prime powers differ by 6 or more.
%o A167236 (PARI) isA000961(n) = (omega(n) == 1 || n == 1)
%o A167236 d_max=0;n_prev=1;for(n=2,1e6,if(isA000961(n),d=n-n_prev;if(d>d_max,print(n);d_max=d);n_prev=n))
%Y A167236 Size of gap: A121492
%Y A167236 Smaller prime power (start of gap): A002540
%Y A167236 Gaps between prime powers: A057820
%Y A167236 List of prime powers: A000961
%K A167236 nonn
%O A167236 1,1
%A A167236 _Michael B. Porter_, Nov 01 2009, Nov 03 2009
%E A167236 a(34) onwards from _Jan Kristian Haugland_, Oct 18 2024