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.

A114872 Even numbers not representable as (p-1)p^k (where p is a prime and k>=0) in ascending order.

This page as a plain text file.
%I A114872 #6 Oct 31 2013 12:17:37
%S A114872 14,24,26,34,38,44,48,50,56,62,68,74,76,80,84,86,90,92,94,98,104,114,
%T A114872 116,118,120,122,124,132,134,140,142,144,146,152,154,158,160,164,168,
%U A114872 170,174,176,182,184,186,188,194,200,202,204,206,208,212,214,216,218
%N A114872 Even numbers not representable as (p-1)p^k (where p is a prime and k>=0) in ascending order.
%e A114872 It is easy to check there is no prime p with 14=(p-1)*p^k and k>=0.
%t A114872 s = Split@ Sort@ Flatten@ Table[(Prime[n] - 1)Prime[n]^k, {n, 60}, {k, 0, 7}]; Complement[ 2Range@116, Take[Union@ Flatten@ s, {2, 58}]] (* _Robert G. Wilson v_ *)
%Y A114872 Cf. A114871.
%K A114872 nonn
%O A114872 1,1
%A A114872 _Franz Vrabec_, Jan 03 2006
%E A114872 More terms from _Robert G. Wilson v_, Jan 05 2006