Prime powers (A025475) such that the distance to the nearest prime power is a triangular number (A000217).

A239520

Prime powers (A025475) such that the distance to the nearest prime power is a triangular number (A000217).

Terms

    a(0) =1a(1) =4a(2) =8a(3) =9a(4) =49a(5) =64a(6) =125a(7) =128a(8) =2187a(9) =2197a(10) =654481a(11) =657721a(12) =1442401a(13) =1442897a(14) =1708249a(15) =7252249a(16) =7946761a(17) =13053769a(18) =13082689a(19) =21557449a(20) =39677401a(21) =39702601a(22) =86136961a(23) =86174089a(24) =106729561a(25) =106770889a(26) =184063489a(27) =253987969a(28) =302516449a(29) =626550961

External references