OFFSET
1,8
LINKS
EXAMPLE
For n = 128 = 2^7, A108951(128) = A034386(2)^7 = 128. As 128 = 4 * 30 + 1*6 + 1* 2, A276086(128) = 36015 = 7^4 * 5^1 * 3^1, and there are two such primes that both p and p-2 divide n, and p-2 is also prime, namely, 7 and 5, thus a(128) = 7*5 = 35. This is also the first occurrence of composite number in this sequence.
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 11 2019
STATUS
approved