login
A331172
a(n) = min(n, A289234(n)), where A289234 is primorial base "reciprocal" flip.
2
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 12, 13, 14, 15, 16, 17, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 42, 43, 44, 45, 46, 47, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81
OFFSET
0,3
COMMENTS
For all i, j:
a(i) = a(j) => A267263(i) = A267263(j).
For all i, j > 0:
a(i) = a(j) => A053669(i) = A053669(j).
FORMULA
a(n) = min(n, A289234(n)).
PROG
(PARI)
A289234(n) = { my(pr=1, p=2, v=0); while(n>0, my (d=n%p); if(d>0, v += pr * lift(1/Mod(d, p))); pr *= p; n \= p; p = nextprime(p+1)); return(v); }; \\ From A289234.
A331172(n) = min(n, A289234(n));
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Jan 12 2020
STATUS
approved