---
title: "Discussion on \"UVA 913 - Joana and the Odd Numbers\" | Hashnode"
description: "Discussion on \"UVA 913 - Joana and the Odd Numbers\". Problem PDF\nSolution:\n#include\nint main()\n{\n    long long n;\n    while (scanf(\"%lld\",&n)==1)\n    printf(\"%lld\\n\",((n*(n+2))/2)*3-6);\nreturn 0;\n}\nhttps://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/913/913.cpp"
url: "https://hashnode.com/posts/uva-913-joana-and-the-odd-numbers/6352e5029b8e1cc8a0ee0dbd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [UVA 913 - Joana and the Odd Numbers](https://shipu.hashnode.dev/uva-913-joana-and-the-odd-numbers?utm_source=hashnode&utm_medium=feed)

Problem PDF Solution: #include int main() { long long n; while (scanf("%lld",&n)==1) printf("%lld\\n",((n\*(n+2))/2)\*3-6); return 0; } https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/913/913.cpp

Aug 31, 2020 · 1 min read · shipu.hashnode.dev  
Read the article

-   [#competitive-programming](https://hashnode.com/tag/competitive-programming)

## Written by

[Shipu Ahamed](https://hashnode.com/@shipu)

@shipu

  
[View profile](https://hashnode.com/@shipu)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
