OFFSET
1,1
COMMENTS
After 3 and 4 each term is an even number with an odd exponent of 2. - David A. Corneth and Antti Karttunen, Oct 11 2016
LINKS
Antti Karttunen (terms 1..4994) & Hans Havermann, Table of n, a(n) for n = 1..25000
Hans Havermann, 70000 terms with their associated primes
PROG
(PARI)
allocatemem(2^30);
A048675(n) = my(f = factor(n)); sum(k=1, #f~, f[k, 2]*2^primepi(f[k, 1]))/2; \\ From Michel Marcus, Oct 10 2016
isA277319 = n -> isprime(A048675(n));
i=0; n=1; while(i < 10000, n++; if(isA277319(n), i++; write("b277319.txt", i, " ", n)));
(Python)
from sympy import factorint, primepi, isprime
def a048675(n):
if n==1: return 0
f=factorint(n)
return sum([f[i]*2**(primepi(i) - 1) for i in f])
print([n for n in range(1, 1001) if isprime(a048675(n))]) # Indranil Ghosh, Jun 19 2017
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 11 2016
STATUS
approved