Python Forum
solve probability problem by python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
solve probability problem by python
#1
A = {1, 2, 3, 4, 5}

There is bijective function f from A to A. The function satisfying following condition.


for only one n, element of domain A, f(n+1) - f(n) = 3


How many numbers of f can exist?

How can I solve it by using python?
Reply
#2
show what you have tried, and explain where the problem lies.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to solve this problem Python configuration? magomes 5 387 Mar-22-2024, 11:11 PM
Last Post: magomes
  Two Python problems to solve djzsp 1 364 Mar-17-2024, 01:18 AM
Last Post: deanhystad
  How to solve pancake flip with Python longmen 5 2,067 May-09-2022, 05:16 PM
Last Post: deanhystad
  How to solve problem 1181 of the URI with numpy. thiagohps 4 2,659 Mar-22-2021, 04:11 PM
Last Post: buran
Star Interesting Intro to python problem I can't solve. Honestworker 5 12,282 Mar-04-2021, 02:05 AM
Last Post: BashBedlam
  Help for simulation class/ Probability Distribution springsilver 0 1,985 Mar-18-2019, 02:41 AM
Last Post: springsilver
  Algorithm to solve a case of Travelling Salesman Problem Ale888 3 3,003 Dec-11-2018, 07:49 PM
Last Post: buran
  Cross word puzzle solve using python constraint library aliyark145 1 3,287 Nov-29-2018, 10:53 AM
Last Post: Larz60+
  how to solve this problem. IndexError: axis 2 out of bounds [0, 2) bedio 10 8,941 Nov-21-2017, 02:47 PM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020