login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A331171 a(n) = min(n, A225901(n)), where A225901 is factorial base flip. 2
0, 1, 2, 3, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 14, 15, 6, 7, 10, 11, 8, 9, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 48, 49, 52, 53, 50, 51, 66, 67, 70, 71, 68, 69, 60, 61, 64, 65, 62, 63, 54, 55, 58, 59 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
For all i, j:
a(i) = a(j) => A060130(i) = A060130(j).
For all i, j > 0:
a(i) = a(j) => A055881(i) = A055881(j).
LINKS
FORMULA
a(n) = min(n, A225901(n)).
PROG
(PARI)
A225901(n) = { my(s=0, d, k=2); while(n, d=n%k; n=n\k; if(d, s += (k-d)*(k-1)!); k=k+1); (s); };
A331171(n) = min(n, A225901(n));
CROSSREFS
Cf. also A330740, A331172.
Sequence in context: A318789 A328841 A276008 * A336953 A193917 A089135
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Jan 12 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 19 01:31 EDT 2024. Contains 374388 sequences. (Running on oeis4.)