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).
Asked: 2024-06-09 20:29:04 +0100
Seen: 137 times
Last updated: Jun 09 '24
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 isf_k(n).