A384584 Numbers k such that A383844(k) = 2.
4, 46, 62, 119, 145, 180, 200, 247, 305, 522, 707, 900, 1235, 1504, 1532, 1540, 2396, 3140, 4181, 4231, 6419, 9066, 9885, 14292, 17914, 22696, 33924, 35933, 38951, 80602
Offset: 1
Examples
4 is a term since 7 and 10 are the only numbers r such that A024934(r) = 4. 46 is a term since 29 and 30 are the only numbers r such that A024934(r) = 46. 9066 is a term since 552 and 566 are the only numbers r such that A024934(r) = 9066.
Programs
-
PARI
isok(n) = (count(n) = my(f, S=[], b); (f(m) = my(r=0); forprime(p=2, m, r+=m%p); return(r)); if(n<=21, b=26, b=n); for(k=0, b, if(f(k)==n, S=concat(S, k))); return(#S)); if(count(n)==2, return(1), return(0))
Comments