Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8137547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:09:56+00:00 2026-06-06T11:09:56+00:00

Hia guys, I’m helping out a friend with some code and so am trying

  • 0

Hia guys, I’m helping out a friend with some code and so am trying to wrap my head around “Index of Coincidence” as seen here: http://jdege.us/crypto-python/ar01s08.html#id2963591

Essentially: I have a string output coming out of a for loop, and I want to calculate its index of coincidence, eventually I’ll have it only displaying outputs which have a value over a threshold, but that can wait for now!

Any tips or guidance here would be appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:09:58+00:00Added an answer on June 6, 2026 at 11:09 am

    Have a look at the Wikipedia article. The index of coincidence of a text is defined as

    enter image description here

    where c=26, n_i is the frequency of each letter, and N is the length of the text.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hia. I am using some round rect buttons with own images for their states.
Hia experts! Last time i was scrolling down the interwebs, i found an appealing
Hia I am having problems parsing an rss feed from stackexchange in python. When
I have this code: #include <iostream> using namespace std; class FooA { public: virtual
I'm trying to convert the string 11/24/2011 @ 01:15pm to a UNIX timestamp. The
How Can I make numbering on mySQL results. I was trying to use $_SESSION[],
I'm getting the following error message in Chrome and firefox while trying to implement
I'm using the Concurrency and Coordination Runtime and am writing code similar to what
This is my code: type HoraAtendimento = (String, Int, Int) htmlHAtendimento :: [HoraAtendimento] ->
Hia, I got a somewhat odd problem. Im using two managed Classes that relate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.