# Define an arithmetic function

I need help to define an arithmetic function f_k related to a non negative integer *k*.
For example f_k(720)= 2^gcd(4,k) * 3^gcd(2,k).

Define an arithmetic function

*k*.
For example f_k(720)= 2^gcd(4,k) * 3^gcd(2,k).

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2024-06-09 20:29:04 +0200 **

Seen: **83 times**

Last updated: **Jun 09**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.

Do you need something like the following?

`f_k(720)= 2^gcd(4,k) * 3^gcd(2,k)`

is not a function definition. Please define what is`f_k(n)`

.