BookmarkSubscribeRSS Feed
Armkents
Calcite | Level 5

Does anyone have solution for Josephus problem.

 

 

2 REPLIES 2
ChrisHemedinger
Community Manager

You might want to include a description of what you mean -- I'm guessing it's this classic problem, sometimes assigned as a programming learning exercise.

 

If it is an assignment....do you have examples of what you've tried?  There are probably elegant solutions in SAS/IML, but I think a DATA step approach could work as well.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 660 views
  • 0 likes
  • 3 in conversation